Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.006898/0.006898, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.279/1.279, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001364/0.001364, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.481/0.481, allocations: 91.9 MB / 431.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 76.03 kB / 0.5722 GB, free: 33.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 71.28 MB / 0.6419 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006212/0.1401, allocations: 5.769 MB / 0.6475 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1435, allocations: 1.728 MB / 0.6492 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.1439, allocations: 19.94 kB / 0.6492 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1444, allocations: 198.3 kB / 0.6494 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.146, allocations: 0.7367 MB / 0.6501 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1472, allocations: 0.5565 MB / 0.6507 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1484, allocations: 1.253 MB / 0.6519 GB, free: 9.898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.1489, allocations: 274 kB / 0.6521 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005704/0.1494, allocations: 0.5212 MB / 0.6526 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.15, allocations: 0.6416 MB / 0.6533 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1502, allocations: 88 kB / 0.6534 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1506, allocations: 227.9 kB / 0.6536 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1508, allocations: 242.9 kB / 0.6538 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.1512, allocations: 0.5437 MB / 0.6543 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1526, allocations: 1.359 MB / 0.6557 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1526, allocations: 0 / 0.6557 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1526, allocations: 4 kB / 0.6557 GB, free: 5.992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1526, allocations: 0 / 0.6557 GB, free: 5.992 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.006947/0.1596, allocations: 2.353 MB / 0.658 GB, free: 3.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1596, allocations: 8.031 kB / 0.658 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.1599, allocations: 114.5 kB / 0.6581 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.1645, allocations: 0.7518 MB / 0.6588 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1658, allocations: 0.7205 MB / 0.6595 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.1661, allocations: 252.1 kB / 0.6598 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.1662, allocations: 68 kB / 0.6598 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.1681, allocations: 0.9559 MB / 0.6608 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1682, allocations: 3.984 kB / 0.6608 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.1682, allocations: 28 kB / 0.6608 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1683, allocations: 20 kB / 0.6608 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.1702, allocations: 0.9721 MB / 0.6618 GB, free: 15.61 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.005014/0.1752, allocations: 3.154 MB / 0.6648 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.1773, allocations: 1.303 MB / 0.6661 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.1786, allocations: 0.7077 MB / 0.6668 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.1787, allocations: 12.64 kB / 0.6668 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1787, allocations: 39.22 kB / 0.6669 GB, free: 10.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 4.108e-06/0.1787, allocations: 3.984 kB / 0.6669 GB, free: 10.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02418/0.2029, allocations: 6.767 MB / 0.6735 GB, free: 3.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.203, allocations: 67.98 kB / 0.6735 GB, free: 3.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2042, allocations: 0.7947 MB / 0.6743 GB, free: 2.398 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.2044, allocations: 41.7 kB / 0.6743 GB, free: 2.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.2047, allocations: 440.3 kB / 0.6748 GB, free: 1.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.205, allocations: 287.8 kB / 0.675 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.2054, allocations: 182.8 kB / 0.6752 GB, free: 1.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2056, allocations: 345.9 kB / 0.6755 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.2069, allocations: 0.6545 MB / 0.6762 GB, free: 456 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.2084, allocations: 0.7719 MB / 0.6769 GB, free: 15.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01635/0.2248, allocations: 4.485 MB / 0.6813 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.2248, allocations: 0 / 0.6813 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0125/0.2374, allocations: 4.125 MB / 0.6853 GB, free: 6.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.2374, allocations: 7.938 kB / 0.6854 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.2375, allocations: 4 kB / 0.6854 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.2434, allocations: 1.791 MB / 0.6871 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.2444, allocations: 159.8 kB / 0.6873 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.2664, allocations: 9.327 MB / 0.6964 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2678, allocations: 155 kB / 0.6965 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.268, allocations: 35.98 kB / 0.6965 GB, free: 11.34 MB / 0.4981 GB 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.000565/0.2686, allocations: 221.7 kB / 0.6968 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.2689, allocations: 102.8 kB / 0.6969 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.2805, allocations: 3.84 MB / 0.7006 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.2805, allocations: 8 kB / 0.7006 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2806, allocations: 4 kB / 0.7006 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.2806, allocations: 7.969 kB / 0.7006 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.2937, allocations: 5.353 MB / 0.7059 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.2938, allocations: 0 / 0.7059 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.2943, allocations: 87.89 kB / 0.7059 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005379/0.2996, allocations: 1.741 MB / 0.7076 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.2998, allocations: 16 kB / 0.7077 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/0.3172, allocations: 8.056 MB / 0.7155 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3172, allocations: 0 / 0.7155 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.3301, allocations: 4.716 MB / 0.7201 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.3304, allocations: 187.7 kB / 0.7203 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3305, allocations: 12 kB / 0.7203 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.3313, allocations: 95.89 kB / 0.7204 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/0.332, allocations: 196.7 kB / 0.7206 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.332, allocations: 20 kB / 0.7206 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006444/0.3327, allocations: 0.5383 MB / 0.7211 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3327, allocations: 0 / 0.7211 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001097/0.3338, allocations: 411.5 kB / 0.7215 GB, free: 1.383 MB / 0.5137 GB 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.01316/0.3469, allocations: 5.28 MB / 0.7267 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00594/0.3529, allocations: 2.33 MB / 0.729 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3529, allocations: 0.5625 kB / 0.729 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.3571, allocations: 1.511 MB / 0.7304 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.358, allocations: 84.53 kB / 0.7305 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/0.3933, allocations: 14.16 MB / 0.7443 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.3941, allocations: 1.029 MB / 0.7453 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003501/0.3945, allocations: 82.17 kB / 0.7454 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/0.395, allocations: 363.3 kB / 0.7458 GB, free: 8.281 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.395, allocations: 0 / 0.7458 GB, free: 8.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3296/0.7247, allocations: 31.08 MB / 0.7761 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.85, allocations: 4.656 kB / 0.7761 GB, free: 119.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)