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.001002/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.438/1.438, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.0013/0.0013, allocations: 191.4 kB / 290.6 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.539/0.539, allocations: 91.92 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.000423, allocations: 12 kB / 0.5049 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4151, allocations: 72.46 MB / 0.5756 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004224/0.4193, allocations: 5.669 MB / 0.5812 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.4221, allocations: 1.771 MB / 0.5829 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.4225, allocations: 11.19 kB / 0.5829 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.4229, allocations: 160.6 kB / 0.5831 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.4241, allocations: 0.6057 MB / 0.5837 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.4251, allocations: 0.5129 MB / 0.5842 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.426, allocations: 1.186 MB / 0.5853 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.4263, allocations: 243.3 kB / 0.5856 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.4268, allocations: 470.5 kB / 0.586 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004896/0.4273, allocations: 0.595 MB / 0.5866 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.4274, allocations: 48.56 kB / 0.5866 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.4277, allocations: 177.6 kB / 0.5868 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.4279, allocations: 200.9 kB / 0.587 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.4282, allocations: 0.5211 MB / 0.5875 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008768/0.4291, allocations: 1.275 MB / 0.5887 GB, free: 29.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4291, allocations: 0 / 0.5887 GB, free: 29.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4291, allocations: 2.781 kB / 0.5887 GB, free: 29.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4291, allocations: 0 / 0.5887 GB, free: 29.02 MB / 430.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.006805/0.4359, allocations: 2.201 MB / 0.5909 GB, free: 28.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/0.436, allocations: 9.594 kB / 0.5909 GB, free: 28.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/0.4363, allocations: 110.3 kB / 0.591 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.4413, allocations: 0.768 MB / 0.5918 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.4423, allocations: 0.6976 MB / 0.5924 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.4425, allocations: 268 kB / 0.5927 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4427, allocations: 69.66 kB / 0.5928 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.4449, allocations: 1.04 MB / 0.5938 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4449, allocations: 3.938 kB / 0.5938 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.445, allocations: 25.59 kB / 0.5938 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.445, allocations: 16 kB / 0.5938 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.4473, allocations: 1.062 MB / 0.5949 GB, free: 26.38 MB / 430.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.005308/0.4526, allocations: 3.235 MB / 0.598 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.4548, allocations: 1.378 MB / 0.5994 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.4565, allocations: 0.7746 MB / 0.6001 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/0.4566, allocations: 17.7 kB / 0.6001 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.4566, allocations: 41.78 kB / 0.6002 GB, free: 23.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.4566, allocations: 0 / 0.6002 GB, free: 23.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.03145/0.4881, allocations: 8.414 MB / 0.6084 GB, free: 21.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.4882, allocations: 64.83 kB / 0.6085 GB, free: 21.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4895, allocations: 0.797 MB / 0.6092 GB, free: 21.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.4896, allocations: 40.2 kB / 0.6093 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.4899, allocations: 431.5 kB / 0.6097 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.4902, allocations: 293.6 kB / 0.61 GB, free: 20.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4904, allocations: 93.44 kB / 0.6101 GB, free: 20.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.4905, allocations: 351.2 kB / 0.6104 GB, free: 20.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4921, allocations: 0.7321 MB / 0.6111 GB, free: 20.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.4938, allocations: 0.8443 MB / 0.6119 GB, free: 19.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/0.5135, allocations: 4.994 MB / 0.6168 GB, free: 18.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.5135, allocations: 5.219 kB / 0.6168 GB, free: 18.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01442/0.528, allocations: 5.039 MB / 0.6217 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.528, allocations: 6.031 kB / 0.6217 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.528, allocations: 8 kB / 0.6217 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/0.5344, allocations: 2.092 MB / 0.6238 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.5352, allocations: 175.8 kB / 0.624 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.5556, allocations: 9.571 MB / 0.6333 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.5572, allocations: 195 kB / 0.6335 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.5575, allocations: 35.94 kB / 0.6335 GB, free: 1.824 MB / 430.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.0005927/0.5581, allocations: 230.8 kB / 0.6337 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.5584, allocations: 102.7 kB / 0.6338 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.5729, allocations: 4.747 MB / 0.6385 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.573, allocations: 8 kB / 0.6385 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.573, allocations: 4 kB / 0.6385 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.573, allocations: 3.984 kB / 0.6385 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.5908, allocations: 6.27 MB / 0.6446 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.5908, allocations: 0 / 0.6446 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.5915, allocations: 95.89 kB / 0.6447 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/0.5984, allocations: 2.061 MB / 0.6467 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.5986, allocations: 16 kB / 0.6467 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.6188, allocations: 8.206 MB / 0.6547 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6189, allocations: 4 kB / 0.6547 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.6361, allocations: 5.692 MB / 0.6603 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.6367, allocations: 191.6 kB / 0.6605 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.637, allocations: 16 kB / 0.6605 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6382, allocations: 131.9 kB / 0.6606 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.6389, allocations: 196.6 kB / 0.6608 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/0.639, allocations: 20 kB / 0.6608 GB, free: 5.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007996/0.6398, allocations: 0.5343 MB / 0.6614 GB, free: 4.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6399, allocations: 7.938 kB / 0.6614 GB, free: 4.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001623/0.6415, allocations: 403.6 kB / 0.6618 GB, free: 4.531 MB / 462.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.01705/0.6586, allocations: 6.276 MB / 0.6679 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007699/0.6663, allocations: 2.594 MB / 0.6704 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6664, allocations: 0 / 0.6704 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005353/0.6717, allocations: 1.689 MB / 0.6721 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6729, allocations: 87.27 kB / 0.6721 GB, free: 9.824 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/0.7151, allocations: 16.88 MB / 0.6886 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.7158, allocations: 1.029 MB / 0.6896 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.7162, allocations: 78.17 kB / 0.6897 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.7168, allocations: 363.3 kB / 0.6901 GB, free: 7.129 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7168, allocations: 0 / 0.6901 GB, free: 7.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.7698, allocations: 27.75 MB / 0.7172 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.77, allocations: 217.7 kB / 0.7174 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.441, allocations: 4 kB / 0.7174 GB, free: 11.27 MB / 0.5137 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)