Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08534/0.08534, allocations: 12.6 MB / 28.23 MB, free: 116 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 115.4 kB / 31.83 MB, free: 3.422 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 200.4 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4153/0.4153, allocations: 78.51 MB / 419.3 MB, free: 10.77 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 139.6 kB / 0.5554 GB, free: 17.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.109, allocations: 68.13 MB / 0.6219 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006769/0.1158, allocations: 5.792 MB / 0.6276 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.1192, allocations: 1.705 MB / 0.6292 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.1198, allocations: 8 kB / 0.6292 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.1203, allocations: 206.2 kB / 0.6294 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1219, allocations: 0.7375 MB / 0.6302 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.123, allocations: 0.5526 MB / 0.6307 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1241, allocations: 1.253 MB / 0.6319 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.1245, allocations: 267.2 kB / 0.6322 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.1251, allocations: 0.5173 MB / 0.6327 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.1257, allocations: 0.6533 MB / 0.6333 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1258, allocations: 88 kB / 0.6334 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.1263, allocations: 223.9 kB / 0.6336 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.1265, allocations: 239 kB / 0.6338 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.1269, allocations: 0.5514 MB / 0.6344 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.1283, allocations: 1.352 MB / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1283, allocations: 4 kB / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1283, allocations: 0 / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.1283, allocations: 0 / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006981/0.1353, allocations: 2.352 MB / 0.638 GB, free: 13.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1354, allocations: 15.98 kB / 0.638 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.1355, allocations: 118.5 kB / 0.6381 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.1402, allocations: 0.7556 MB / 0.6389 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1412, allocations: 0.7127 MB / 0.6396 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.1415, allocations: 260.1 kB / 0.6398 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.1416, allocations: 68 kB / 0.6399 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1435, allocations: 0.9598 MB / 0.6408 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1435, allocations: 0 / 0.6408 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.1436, allocations: 27.94 kB / 0.6408 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1436, allocations: 16 kB / 0.6409 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.1456, allocations: 0.9799 MB / 0.6418 GB, free: 9.02 MB / 462.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.004774/0.1504, allocations: 3.158 MB / 0.6449 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.1523, allocations: 1.301 MB / 0.6462 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.1536, allocations: 0.6999 MB / 0.6469 GB, free: 3.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.825e-05/0.1537, allocations: 8.656 kB / 0.6469 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1537, allocations: 43.22 kB / 0.6469 GB, free: 3.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.1537, allocations: 0 / 0.6469 GB, free: 3.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.0243/0.178, allocations: 6.767 MB / 0.6535 GB, free: 12.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.1782, allocations: 68 kB / 0.6536 GB, free: 12.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1792, allocations: 0.7986 MB / 0.6544 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.1793, allocations: 41.7 kB / 0.6544 GB, free: 11.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.1797, allocations: 432.4 kB / 0.6548 GB, free: 11.35 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.18, allocations: 287.8 kB / 0.6551 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.1805, allocations: 182.9 kB / 0.6553 GB, free: 10.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1806, allocations: 341.9 kB / 0.6556 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.182, allocations: 0.6584 MB / 0.6562 GB, free: 9.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.1834, allocations: 0.7718 MB / 0.657 GB, free: 9.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/0.2003, allocations: 4.496 MB / 0.6614 GB, free: 4.539 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2003, allocations: 0 / 0.6614 GB, free: 4.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0125/0.2128, allocations: 4.113 MB / 0.6654 GB, free: 420 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.2129, allocations: 12.94 kB / 0.6654 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2129, allocations: 4 kB / 0.6654 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/0.2187, allocations: 1.784 MB / 0.6671 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/0.2195, allocations: 171.7 kB / 0.6673 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.2398, allocations: 9.316 MB / 0.6764 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.2412, allocations: 151 kB / 0.6766 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.2414, allocations: 39.98 kB / 0.6766 GB, free: 4.781 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006174/0.242, allocations: 233.6 kB / 0.6768 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2423, allocations: 102.7 kB / 0.6769 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.2539, allocations: 3.829 MB / 0.6806 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.254, allocations: 8 kB / 0.6807 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.254, allocations: 0 / 0.6807 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.254, allocations: 3.984 kB / 0.6807 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2524/0.5064, allocations: 5.348 MB / 0.6859 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5064, allocations: 0.7812 kB / 0.6859 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.507, allocations: 87.59 kB / 0.686 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005801/0.5128, allocations: 1.74 MB / 0.6877 GB, free: 52.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.5129, allocations: 25.47 kB / 0.6877 GB, free: 52.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.5303, allocations: 8.062 MB / 0.6956 GB, free: 49.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5303, allocations: 1.094 kB / 0.6956 GB, free: 49.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.5432, allocations: 4.715 MB / 0.7002 GB, free: 47.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.5435, allocations: 186.8 kB / 0.7003 GB, free: 47.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.5437, allocations: 19.41 kB / 0.7004 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009428/0.5447, allocations: 93.2 kB / 0.7005 GB, free: 47.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/0.5454, allocations: 202.8 kB / 0.7006 GB, free: 47.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.5454, allocations: 18.72 kB / 0.7007 GB, free: 47.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000662/0.5461, allocations: 0.5419 MB / 0.7012 GB, free: 47.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5461, allocations: 4 kB / 0.7012 GB, free: 47.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00133/0.5475, allocations: 408.1 kB / 0.7016 GB, free: 47.19 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01274/0.5602, allocations: 5.279 MB / 0.7067 GB, free: 45.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005372/0.5656, allocations: 2.323 MB / 0.709 GB, free: 44.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5656, allocations: 4.125 kB / 0.709 GB, free: 44.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003908/0.5696, allocations: 1.505 MB / 0.7105 GB, free: 43.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.5704, allocations: 82.16 kB / 0.7106 GB, free: 43.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/0.6007, allocations: 14.16 MB / 0.7244 GB, free: 31.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.6012, allocations: 1.033 MB / 0.7254 GB, free: 30.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003021/0.6015, allocations: 81.47 kB / 0.7255 GB, free: 29.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.602, allocations: 363.3 kB / 0.7258 GB, free: 29.63 MB / 494.1 MB Notification: Performance of SimCode: time 1.362e-06/0.602, allocations: 0 / 0.7258 GB, free: 29.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/0.6525, allocations: 31.07 MB / 0.7562 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/15.88, allocations: 8.438 kB / 0.7562 GB, free: 14.62 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)