Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.005228/0.005228, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.256/1.256, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001366/0.001366, allocations: 180.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4904/0.4904, allocations: 91.9 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 80.27 kB / 0.5722 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 71.27 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005404/0.1286, allocations: 5.713 MB / 0.6474 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1314, allocations: 1.731 MB / 0.6491 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.1317, allocations: 12 kB / 0.6491 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1321, allocations: 202.3 kB / 0.6493 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1335, allocations: 0.7224 MB / 0.65 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1345, allocations: 0.5578 MB / 0.6506 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1356, allocations: 1.233 MB / 0.6518 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.1359, allocations: 265.9 kB / 0.652 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.1364, allocations: 0.5135 MB / 0.6525 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.137, allocations: 0.6377 MB / 0.6532 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1371, allocations: 88 kB / 0.6532 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.1374, allocations: 223.8 kB / 0.6535 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1376, allocations: 234.9 kB / 0.6537 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.138, allocations: 0.5359 MB / 0.6542 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1391, allocations: 1.348 MB / 0.6555 GB, free: 6.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1391, allocations: 0 / 0.6555 GB, free: 6.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1392, allocations: 0 / 0.6555 GB, free: 6.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1392, allocations: 4 kB / 0.6555 GB, free: 6.039 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006335/0.1455, allocations: 2.325 MB / 0.6578 GB, free: 3.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1456, allocations: 12.03 kB / 0.6578 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.1457, allocations: 114.5 kB / 0.6579 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004446/0.1502, allocations: 0.7595 MB / 0.6587 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.1512, allocations: 0.701 MB / 0.6593 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.1514, allocations: 251.5 kB / 0.6596 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1515, allocations: 72 kB / 0.6596 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.1533, allocations: 0.9394 MB / 0.6606 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1533, allocations: 0 / 0.6606 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.1534, allocations: 27.94 kB / 0.6606 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1534, allocations: 16 kB / 0.6606 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.1552, allocations: 0.9733 MB / 0.6616 GB, free: 15.71 MB / 478.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.004461/0.1597, allocations: 3.131 MB / 0.6646 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.1615, allocations: 1.314 MB / 0.6659 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.1627, allocations: 0.6982 MB / 0.6666 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.1628, allocations: 12.64 kB / 0.6666 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1629, allocations: 43.22 kB / 0.6666 GB, free: 10.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.1629, allocations: 0 / 0.6666 GB, free: 10.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02229/0.1852, allocations: 6.696 MB / 0.6732 GB, free: 3.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1852, allocations: 68 kB / 0.6732 GB, free: 3.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1863, allocations: 0.7905 MB / 0.674 GB, free: 2.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.1863, allocations: 41.64 kB / 0.6741 GB, free: 2.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.1867, allocations: 432.4 kB / 0.6745 GB, free: 2.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.1869, allocations: 291.8 kB / 0.6747 GB, free: 1.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.1873, allocations: 174.5 kB / 0.6749 GB, free: 1.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1874, allocations: 345.9 kB / 0.6752 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.1887, allocations: 0.6464 MB / 0.6759 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.1901, allocations: 0.755 MB / 0.6766 GB, free: 15.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/0.2056, allocations: 4.453 MB / 0.681 GB, free: 11.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.2056, allocations: 0 / 0.681 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01152/0.2172, allocations: 4.035 MB / 0.6849 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2172, allocations: 4 kB / 0.6849 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2172, allocations: 4 kB / 0.6849 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00547/0.2227, allocations: 1.866 MB / 0.6867 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.2235, allocations: 163.7 kB / 0.6869 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.2427, allocations: 9.094 MB / 0.6958 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.2439, allocations: 151 kB / 0.6959 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.2441, allocations: 35.94 kB / 0.6959 GB, free: 11.88 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004799/0.2446, allocations: 225.6 kB / 0.6962 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.2449, allocations: 98.78 kB / 0.6963 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.2557, allocations: 3.821 MB / 0.7 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2557, allocations: 8 kB / 0.7 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2558, allocations: 4 kB / 0.7 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.2558, allocations: 3.984 kB / 0.7 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.2684, allocations: 5.318 MB / 0.7052 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.2685, allocations: 3.938 kB / 0.7052 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.2689, allocations: 91.83 kB / 0.7053 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/0.2741, allocations: 1.741 MB / 0.707 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.2742, allocations: 19.98 kB / 0.707 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/0.2912, allocations: 8.073 MB / 0.7149 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2913, allocations: 4 kB / 0.7149 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.3036, allocations: 4.681 MB / 0.7195 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.304, allocations: 195.5 kB / 0.7196 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.3042, allocations: 16 kB / 0.7197 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/0.3051, allocations: 87.95 kB / 0.7197 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/0.3057, allocations: 200.7 kB / 0.7199 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/0.3057, allocations: 20 kB / 0.72 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006577/0.3064, allocations: 0.5302 MB / 0.7205 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3064, allocations: 0 / 0.7205 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001227/0.3076, allocations: 403.6 kB / 0.7209 GB, free: 2.004 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01273/0.3204, allocations: 5.261 MB / 0.726 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005615/0.326, allocations: 2.298 MB / 0.7282 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.326, allocations: 3.938 kB / 0.7282 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.33, allocations: 1.5 MB / 0.7297 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.3307, allocations: 80.23 kB / 0.7298 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/0.3619, allocations: 13.96 MB / 0.7434 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/0.3626, allocations: 1.029 MB / 0.7444 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.3629, allocations: 74.19 kB / 0.7445 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.3634, allocations: 375.3 kB / 0.7449 GB, free: 9.168 MB / 0.545 GB Notification: Performance of SimCode: time 2.335e-06/0.3634, allocations: 0 / 0.7449 GB, free: 9.168 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.335/0.6985, allocations: 30.6 MB / 0.7747 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.22, allocations: 6.406 kB / 0.7747 GB, free: 119.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)