Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_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.005284/0.005284, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001597/0.001597, allocations: 192.4 kB / 289.7 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4415/0.4415, allocations: 78.54 MB / 418.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 83.88 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3085, allocations: 68.17 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005656/0.3142, allocations: 5.679 MB / 0.6253 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.3179, allocations: 1.724 MB / 0.6269 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009674/0.3189, allocations: 11.94 kB / 0.627 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.3196, allocations: 206.3 kB / 0.6272 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.3214, allocations: 0.6706 MB / 0.6278 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3225, allocations: 0.5611 MB / 0.6284 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.3238, allocations: 1.225 MB / 0.6296 GB, free: 84 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3243, allocations: 285.3 kB / 0.6298 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/0.3252, allocations: 0.5095 MB / 0.6303 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.3261, allocations: 0.6378 MB / 0.6309 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.3263, allocations: 84 kB / 0.631 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.3269, allocations: 227.9 kB / 0.6312 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.3271, allocations: 238.9 kB / 0.6315 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.3276, allocations: 0.5359 MB / 0.632 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.3291, allocations: 1.339 MB / 0.6333 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3291, allocations: 0 / 0.6333 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3291, allocations: 0 / 0.6333 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.3292, allocations: 0 / 0.6333 GB, free: 12.21 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.007541/0.3367, allocations: 2.333 MB / 0.6356 GB, free: 9.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3368, allocations: 8.031 kB / 0.6356 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.3369, allocations: 118.5 kB / 0.6357 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004885/0.3418, allocations: 0.7595 MB / 0.6364 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.343, allocations: 0.7049 MB / 0.6371 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.3433, allocations: 247.4 kB / 0.6374 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3434, allocations: 72 kB / 0.6374 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.3454, allocations: 0.9433 MB / 0.6384 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3454, allocations: 0 / 0.6384 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.3455, allocations: 28 kB / 0.6384 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3456, allocations: 16 kB / 0.6384 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.3476, allocations: 0.9655 MB / 0.6393 GB, free: 5.875 MB / 446.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.3527, allocations: 3.143 MB / 0.6424 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.3547, allocations: 1.3 MB / 0.6437 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3561, allocations: 0.7021 MB / 0.6444 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.3562, allocations: 12.66 kB / 0.6444 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3562, allocations: 47.22 kB / 0.6444 GB, free: 392 kB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.134e-06/0.3563, allocations: 0 / 0.6444 GB, free: 392 kB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02702/0.3833, allocations: 6.693 MB / 0.651 GB, free: 9.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3834, allocations: 64 kB / 0.651 GB, free: 9.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.3844, allocations: 0.7905 MB / 0.6518 GB, free: 8.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.3845, allocations: 41.7 kB / 0.6518 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.3848, allocations: 428.5 kB / 0.6522 GB, free: 8.309 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.3851, allocations: 287.8 kB / 0.6525 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.3854, allocations: 178.5 kB / 0.6527 GB, free: 7.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3856, allocations: 349.9 kB / 0.653 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.387, allocations: 0.6386 MB / 0.6536 GB, free: 6.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.3886, allocations: 0.7588 MB / 0.6544 GB, free: 6.066 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/0.4064, allocations: 4.449 MB / 0.6587 GB, free: 1.582 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.4065, allocations: 0 / 0.6587 GB, free: 1.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01367/0.4201, allocations: 4.043 MB / 0.6627 GB, free: 13.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4202, allocations: 8 kB / 0.6627 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4202, allocations: 0 / 0.6627 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/0.4266, allocations: 1.862 MB / 0.6645 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/0.4275, allocations: 159.8 kB / 0.6647 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/0.4494, allocations: 9.102 MB / 0.6735 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4508, allocations: 155 kB / 0.6737 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.4509, allocations: 35.98 kB / 0.6737 GB, free: 2.055 MB / 478.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.0004443/0.4514, allocations: 221.7 kB / 0.6739 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.4516, allocations: 102.7 kB / 0.674 GB, free: 1.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.4647, allocations: 3.813 MB / 0.6778 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4647, allocations: 11.98 kB / 0.6778 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4647, allocations: 4 kB / 0.6778 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.4648, allocations: 7.969 kB / 0.6778 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.4797, allocations: 5.325 MB / 0.683 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.4797, allocations: 0 / 0.683 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.4802, allocations: 91.83 kB / 0.6831 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006187/0.4864, allocations: 1.737 MB / 0.6848 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.4866, allocations: 16 kB / 0.6848 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.5062, allocations: 8.072 MB / 0.6927 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5062, allocations: 3.984 kB / 0.6927 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.5213, allocations: 4.689 MB / 0.6972 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.5216, allocations: 191.5 kB / 0.6974 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5219, allocations: 23.94 kB / 0.6975 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.5229, allocations: 87.89 kB / 0.6975 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006435/0.5235, allocations: 200.8 kB / 0.6977 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/0.5236, allocations: 20 kB / 0.6977 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007013/0.5243, allocations: 0.5264 MB / 0.6983 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5243, allocations: 0 / 0.6983 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001215/0.5255, allocations: 399.6 kB / 0.6986 GB, free: 8.18 MB / 0.4981 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.01527/0.5408, allocations: 5.261 MB / 0.7038 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006758/0.5476, allocations: 2.304 MB / 0.706 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5476, allocations: 0 / 0.706 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004699/0.5523, allocations: 1.492 MB / 0.7075 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.5531, allocations: 83.31 kB / 0.7076 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0359/0.589, allocations: 13.97 MB / 0.7212 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.5897, allocations: 1.025 MB / 0.7222 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.5901, allocations: 78.19 kB / 0.7223 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.5906, allocations: 383.2 kB / 0.7226 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.5906, allocations: 0 / 0.7226 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/0.6578, allocations: 31.91 MB / 0.7538 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.41, allocations: 13.17 kB / 0.7538 GB, free: 15.5 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)