Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_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.001542/0.001543, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 222.9 MB / 239.3 MB, free: 4.602 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.001658/0.001658, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5942/0.5942, allocations: 78.54 MB / 418.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001601, allocations: 83.89 kB / 497.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1771, allocations: 68.18 MB / 0.5525 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.3574/0.5346, allocations: 5.749 MB / 0.5581 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.5394, allocations: 1.732 MB / 0.5598 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.5408, allocations: 12.16 kB / 0.5598 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.5418, allocations: 200.9 kB / 0.56 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.5448, allocations: 0.6861 MB / 0.5606 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5464, allocations: 0.5596 MB / 0.5612 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.5482, allocations: 1.237 MB / 0.5624 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.5487, allocations: 272.4 kB / 0.5627 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008661/0.5496, allocations: 0.5216 MB / 0.5632 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.5503, allocations: 0.6466 MB / 0.5638 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.5504, allocations: 87.66 kB / 0.5639 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.5509, allocations: 218.3 kB / 0.5641 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.5511, allocations: 250.6 kB / 0.5643 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.5515, allocations: 0.5401 MB / 0.5649 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.5529, allocations: 1.345 MB / 0.5662 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5529, allocations: 0 / 0.5662 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5529, allocations: 0.8125 kB / 0.5662 GB, free: 34.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.553, allocations: 0 / 0.5662 GB, free: 34.52 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.007305/0.5603, allocations: 2.358 MB / 0.5685 GB, free: 33.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5603, allocations: 8.375 kB / 0.5685 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.5605, allocations: 119.9 kB / 0.5686 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.5651, allocations: 0.7549 MB / 0.5693 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.5661, allocations: 0.7099 MB / 0.57 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.5664, allocations: 252.2 kB / 0.5703 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5665, allocations: 67.91 kB / 0.5703 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.5684, allocations: 0.9568 MB / 0.5713 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.5685, allocations: 3.328 kB / 0.5713 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.5686, allocations: 25.09 kB / 0.5713 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.5686, allocations: 16.5 kB / 0.5713 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.5706, allocations: 0.9754 MB / 0.5723 GB, free: 32.95 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.004985/0.5756, allocations: 3.18 MB / 0.5754 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.5774, allocations: 1.304 MB / 0.5766 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5787, allocations: 0.7015 MB / 0.5773 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.812e-05/0.5788, allocations: 13.3 kB / 0.5773 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5788, allocations: 38.09 kB / 0.5774 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.5788, allocations: 0 / 0.5774 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02831/0.6071, allocations: 6.761 MB / 0.584 GB, free: 29.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.6073, allocations: 68 kB / 0.584 GB, free: 29.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.6089, allocations: 0.8068 MB / 0.5848 GB, free: 29.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.6091, allocations: 41.33 kB / 0.5849 GB, free: 29.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.6094, allocations: 433.6 kB / 0.5853 GB, free: 29.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.6098, allocations: 288.4 kB / 0.5856 GB, free: 28.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.6102, allocations: 183.8 kB / 0.5857 GB, free: 28.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6103, allocations: 340.7 kB / 0.5861 GB, free: 28.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.6122, allocations: 0.6539 MB / 0.5867 GB, free: 28.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.6141, allocations: 0.7773 MB / 0.5875 GB, free: 27.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.6334, allocations: 4.505 MB / 0.5919 GB, free: 26.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.6334, allocations: 0.9062 kB / 0.5919 GB, free: 26.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01481/0.6482, allocations: 4.116 MB / 0.5959 GB, free: 25.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.6483, allocations: 6.844 kB / 0.5959 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6483, allocations: 2.281 kB / 0.5959 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/0.6552, allocations: 1.791 MB / 0.5976 GB, free: 25.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.6561, allocations: 173.7 kB / 0.5978 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.6802, allocations: 9.331 MB / 0.6069 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6819, allocations: 156.5 kB / 0.6071 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.6822, allocations: 37.7 kB / 0.6071 GB, free: 20.76 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.0004888/0.6826, allocations: 228.7 kB / 0.6073 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.6829, allocations: 100.4 kB / 0.6074 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.6957, allocations: 3.828 MB / 0.6112 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.6957, allocations: 9.5 kB / 0.6112 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6957, allocations: 0 / 0.6112 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.6957, allocations: 3.984 kB / 0.6112 GB, free: 18.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.7099, allocations: 5.359 MB / 0.6164 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.7099, allocations: 1.125 kB / 0.6164 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.7104, allocations: 96.77 kB / 0.6165 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005563/0.716, allocations: 1.744 MB / 0.6182 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/0.7161, allocations: 17.78 kB / 0.6182 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/0.7333, allocations: 8.078 MB / 0.6261 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7334, allocations: 3.938 kB / 0.6261 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.7478, allocations: 4.705 MB / 0.6307 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.7483, allocations: 191.7 kB / 0.6309 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.7486, allocations: 19.98 kB / 0.6309 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.75, allocations: 87.84 kB / 0.631 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007404/0.7507, allocations: 208.7 kB / 0.6312 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.7508, allocations: 16.88 kB / 0.6312 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.7521, allocations: 0.5343 MB / 0.6317 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7521, allocations: 0 / 0.6317 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002319/0.7544, allocations: 403.6 kB / 0.6321 GB, free: 12.88 MB / 446.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.01704/0.7715, allocations: 5.284 MB / 0.6373 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008449/0.78, allocations: 2.354 MB / 0.6396 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.7801, allocations: 0 / 0.6396 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005499/0.7856, allocations: 1.504 MB / 0.641 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.787, allocations: 79.91 kB / 0.6411 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/0.8271, allocations: 14.6 MB / 0.6554 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.8281, allocations: 1.04 MB / 0.6564 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000545/0.8287, allocations: 77.56 kB / 0.6565 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007639/0.8295, allocations: 369.3 kB / 0.6568 GB, free: 3.191 MB / 462.1 MB Notification: Performance of SimCode: time 2.815e-06/0.8295, allocations: 3.938 kB / 0.6568 GB, free: 3.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08619/0.9157, allocations: 30.71 MB / 0.6868 GB, free: 4.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.11, allocations: 14 kB / 0.6868 GB, free: 4.77 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)