Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 239 MB, free: 4.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 196.4 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5569/0.5569, allocations: 91.9 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3852, allocations: 71.25 MB / 0.5711 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005844/0.3911, allocations: 6.839 MB / 0.5778 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.3949, allocations: 1.941 MB / 0.5797 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009611/0.3959, allocations: 13.31 kB / 0.5797 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.3965, allocations: 173.8 kB / 0.5798 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.3985, allocations: 0.625 MB / 0.5804 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.4, allocations: 0.5718 MB / 0.581 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.4014, allocations: 1.416 MB / 0.5824 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.4019, allocations: 333 kB / 0.5827 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.4025, allocations: 0.5928 MB / 0.5833 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.4031, allocations: 0.733 MB / 0.584 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.4033, allocations: 101.3 kB / 0.5841 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.4037, allocations: 239.3 kB / 0.5843 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.4039, allocations: 275 kB / 0.5846 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.4043, allocations: 0.6297 MB / 0.5852 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.4057, allocations: 1.501 MB / 0.5867 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4057, allocations: 0 / 0.5867 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4057, allocations: 0 / 0.5867 GB, free: 27.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.4057, allocations: 1.094 kB / 0.5867 GB, free: 27.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008224/0.4139, allocations: 2.56 MB / 0.5892 GB, free: 26.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.414, allocations: 10.59 kB / 0.5892 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.4142, allocations: 134.7 kB / 0.5893 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.4192, allocations: 0.7749 MB / 0.5901 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4205, allocations: 0.7716 MB / 0.5908 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.4207, allocations: 257.1 kB / 0.5911 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.4209, allocations: 79.72 kB / 0.5911 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.4232, allocations: 1.091 MB / 0.5922 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4232, allocations: 3.938 kB / 0.5922 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/0.4233, allocations: 29.59 kB / 0.5922 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.4234, allocations: 19.72 kB / 0.5923 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.4258, allocations: 1.119 MB / 0.5933 GB, free: 24.55 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006212/0.432, allocations: 3.503 MB / 0.5968 GB, free: 22.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.434, allocations: 1.432 MB / 0.5982 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.4356, allocations: 0.7861 MB / 0.5989 GB, free: 21.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.4358, allocations: 16.3 kB / 0.5989 GB, free: 21.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4358, allocations: 40.3 kB / 0.599 GB, free: 21.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.4358, allocations: 0 / 0.599 GB, free: 21.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0279/0.4637, allocations: 6.879 MB / 0.6057 GB, free: 20.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4638, allocations: 60.5 kB / 0.6058 GB, free: 19.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4655, allocations: 0.8893 MB / 0.6066 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/0.4658, allocations: 44.86 kB / 0.6067 GB, free: 19.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.4662, allocations: 0.4899 MB / 0.6072 GB, free: 19.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.4666, allocations: 348.2 kB / 0.6075 GB, free: 18.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.4671, allocations: 204.3 kB / 0.6077 GB, free: 18.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.4672, allocations: 354.4 kB / 0.608 GB, free: 18.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.4688, allocations: 0.7341 MB / 0.6087 GB, free: 18.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.4706, allocations: 0.857 MB / 0.6096 GB, free: 17.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0199/0.4905, allocations: 4.857 MB / 0.6143 GB, free: 16.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4906, allocations: 1.438 kB / 0.6143 GB, free: 16.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01275/0.5034, allocations: 4.282 MB / 0.6185 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.5034, allocations: 8 kB / 0.6185 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5035, allocations: 0 / 0.6185 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00533/0.5088, allocations: 1.733 MB / 0.6202 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.51, allocations: 227.7 kB / 0.6204 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.5289, allocations: 9.075 MB / 0.6293 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5306, allocations: 178.9 kB / 0.6294 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.5309, allocations: 39.98 kB / 0.6295 GB, free: 2.238 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007351/0.5317, allocations: 244.5 kB / 0.6297 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.5321, allocations: 122.4 kB / 0.6298 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.545, allocations: 4.014 MB / 0.6338 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.5451, allocations: 12 kB / 0.6338 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5451, allocations: 0 / 0.6338 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.5451, allocations: 3.984 kB / 0.6338 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.5615, allocations: 5.625 MB / 0.6393 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.5616, allocations: 4 kB / 0.6393 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.5624, allocations: 135.8 kB / 0.6394 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/0.5684, allocations: 1.741 MB / 0.6411 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.5687, allocations: 24 kB / 0.6411 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.5883, allocations: 8.057 MB / 0.649 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5884, allocations: 0 / 0.649 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.6041, allocations: 4.966 MB / 0.6538 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.6047, allocations: 203.3 kB / 0.654 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.6051, allocations: 19.98 kB / 0.6541 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6064, allocations: 107.9 kB / 0.6542 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009151/0.6074, allocations: 224.6 kB / 0.6544 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.6075, allocations: 20 kB / 0.6544 GB, free: 8.371 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.6086, allocations: 0.5969 MB / 0.655 GB, free: 7.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6086, allocations: 0 / 0.655 GB, free: 7.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001866/0.6105, allocations: 443.4 kB / 0.6554 GB, free: 7.332 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/0.6262, allocations: 5.541 MB / 0.6608 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.6338, allocations: 2.498 MB / 0.6632 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6338, allocations: 0 / 0.6632 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004967/0.6388, allocations: 1.613 MB / 0.6648 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.64, allocations: 94.55 kB / 0.6649 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/0.6825, allocations: 16.38 MB / 0.6809 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009546/0.6835, allocations: 1.099 MB / 0.682 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.6841, allocations: 90.75 kB / 0.6821 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007492/0.6849, allocations: 447.3 kB / 0.6825 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6849, allocations: 4 kB / 0.6825 GB, free: 11.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.7488, allocations: 31.87 MB / 0.7136 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.7491, allocations: 231.8 kB / 0.7138 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/3.656, allocations: 0 / 0.7138 GB, free: 11.15 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)