Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.09794/0.09794, allocations: 12.59 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 111.4 kB / 31.83 MB, free: 3.875 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.268/1.268, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001266/0.001266, allocations: 183.8 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.416/0.416, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002756/0.002756, allocations: 135.3 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1134, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00643/0.1199, allocations: 5.736 MB / 0.6275 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.1234, allocations: 1.701 MB / 0.6292 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.1243, allocations: 12 kB / 0.6292 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.1251, allocations: 194.3 kB / 0.6294 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.1273, allocations: 0.726 MB / 0.6301 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1286, allocations: 0.5659 MB / 0.6306 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1303, allocations: 1.226 MB / 0.6318 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.1308, allocations: 266 kB / 0.6321 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.1316, allocations: 0.5173 MB / 0.6326 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.1324, allocations: 0.6377 MB / 0.6332 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.1327, allocations: 88 kB / 0.6333 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.1332, allocations: 219.9 kB / 0.6335 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1334, allocations: 239 kB / 0.6337 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.134, allocations: 0.5359 MB / 0.6343 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.1355, allocations: 1.343 MB / 0.6356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1355, allocations: 0 / 0.6356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1355, allocations: 0 / 0.6356 GB, free: 1.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.407e-05/0.1355, allocations: 0 / 0.6356 GB, free: 1.875 MB / 446.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.007303/0.1429, allocations: 2.329 MB / 0.6378 GB, free: 15.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1429, allocations: 15.98 kB / 0.6379 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.1431, allocations: 114.5 kB / 0.638 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.1479, allocations: 0.7596 MB / 0.6387 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.1492, allocations: 0.7049 MB / 0.6394 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.1495, allocations: 247.5 kB / 0.6396 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.1497, allocations: 68 kB / 0.6397 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1516, allocations: 0.9472 MB / 0.6406 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1516, allocations: 4 kB / 0.6406 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.1517, allocations: 28 kB / 0.6406 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1518, allocations: 16 kB / 0.6407 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.1537, allocations: 0.9655 MB / 0.6416 GB, free: 11.53 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.00502/0.1588, allocations: 3.135 MB / 0.6447 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1606, allocations: 1.315 MB / 0.646 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.1619, allocations: 0.6944 MB / 0.6466 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1621, allocations: 8.656 kB / 0.6466 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1621, allocations: 47.22 kB / 0.6467 GB, free: 6.051 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.745e-06/0.1621, allocations: 0 / 0.6467 GB, free: 6.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02517/0.1873, allocations: 6.704 MB / 0.6532 GB, free: 15.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1874, allocations: 64 kB / 0.6533 GB, free: 15.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1884, allocations: 0.7866 MB / 0.6541 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.1886, allocations: 41.7 kB / 0.6541 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.1889, allocations: 428.4 kB / 0.6545 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.1892, allocations: 291.8 kB / 0.6548 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.1896, allocations: 186.5 kB / 0.655 GB, free: 13.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1897, allocations: 341.9 kB / 0.6553 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.1911, allocations: 0.6425 MB / 0.6559 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.1925, allocations: 0.7588 MB / 0.6567 GB, free: 11.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/0.209, allocations: 4.449 MB / 0.661 GB, free: 7.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.209, allocations: 0 / 0.661 GB, free: 7.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01225/0.2213, allocations: 4.043 MB / 0.665 GB, free: 3.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2213, allocations: 4 kB / 0.665 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2213, allocations: 7.984 kB / 0.665 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005839/0.2272, allocations: 1.859 MB / 0.6668 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.228, allocations: 167.7 kB / 0.6669 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.2485, allocations: 9.075 MB / 0.6758 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.2498, allocations: 155 kB / 0.6759 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.25, allocations: 35.98 kB / 0.676 GB, free: 7.727 MB / 494.1 MB 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.0004342/0.2505, allocations: 226.2 kB / 0.6762 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.2507, allocations: 98.78 kB / 0.6763 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.2624, allocations: 3.825 MB / 0.68 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.2625, allocations: 8 kB / 0.68 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2625, allocations: 0 / 0.68 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.2625, allocations: 3.984 kB / 0.68 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.2763, allocations: 5.321 MB / 0.6852 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2764, allocations: 0 / 0.6852 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.2768, allocations: 99.81 kB / 0.6853 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/0.2823, allocations: 1.741 MB / 0.687 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.2824, allocations: 19.98 kB / 0.6871 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.2993, allocations: 8.072 MB / 0.6949 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2993, allocations: 4 kB / 0.6949 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.3124, allocations: 4.681 MB / 0.6995 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.3128, allocations: 191.5 kB / 0.6997 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.313, allocations: 20.06 kB / 0.6997 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.3138, allocations: 83.89 kB / 0.6998 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/0.3144, allocations: 208.5 kB / 0.7 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.3145, allocations: 23.98 kB / 0.7 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006141/0.3151, allocations: 0.5303 MB / 0.7005 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3151, allocations: 0 / 0.7005 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001098/0.3162, allocations: 403.5 kB / 0.7009 GB, free: 13.83 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.01345/0.3297, allocations: 5.265 MB / 0.7061 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006224/0.3359, allocations: 2.303 MB / 0.7083 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.336, allocations: 4.062 kB / 0.7083 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.3403, allocations: 1.499 MB / 0.7098 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.3411, allocations: 79.3 kB / 0.7098 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2689/0.61, allocations: 13.94 MB / 0.7235 GB, free: 84.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.6106, allocations: 1.027 MB / 0.7245 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.611, allocations: 72.17 kB / 0.7245 GB, free: 84.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/0.6114, allocations: 380.3 kB / 0.7249 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.6114, allocations: 0 / 0.7249 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/0.6689, allocations: 30.61 MB / 0.7548 GB, free: 64.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.36, allocations: 4 kB / 0.7548 GB, free: 64.65 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)