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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.362/1.362, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001184/0.001184, allocations: 183.4 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4654/0.4654, allocations: 78.55 MB / 420.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12 kB / 0.4887 GB, free: 6.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 69.36 MB / 0.5564 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2443/0.3695, allocations: 5.584 MB / 0.5618 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.3738, allocations: 1.749 MB / 0.5636 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.3749, allocations: 15.34 kB / 0.5636 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.3754, allocations: 163.5 kB / 0.5637 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.3771, allocations: 0.5932 MB / 0.5643 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3782, allocations: 0.5149 MB / 0.5648 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3796, allocations: 1.17 MB / 0.5659 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.3799, allocations: 233.5 kB / 0.5662 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.3806, allocations: 469.6 kB / 0.5666 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.3811, allocations: 0.5808 MB / 0.5672 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.3812, allocations: 53.42 kB / 0.5672 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.3817, allocations: 169.3 kB / 0.5674 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.3818, allocations: 202.1 kB / 0.5676 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.3822, allocations: 0.5146 MB / 0.5681 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3833, allocations: 1.261 MB / 0.5693 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3833, allocations: 0 / 0.5693 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3833, allocations: 1.5 kB / 0.5693 GB, free: 33.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3833, allocations: 0 / 0.5693 GB, free: 33.84 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006804/0.3901, allocations: 2.176 MB / 0.5715 GB, free: 33.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3902, allocations: 11.16 kB / 0.5715 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.395, allocations: 0.7651 MB / 0.5722 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3961, allocations: 0.6923 MB / 0.5729 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.3964, allocations: 263.9 kB / 0.5731 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.3965, allocations: 74.19 kB / 0.5732 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.3984, allocations: 1.015 MB / 0.5742 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3984, allocations: 4.875 kB / 0.5742 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.3985, allocations: 27.34 kB / 0.5742 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3985, allocations: 15.81 kB / 0.5742 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.4005, allocations: 1.055 MB / 0.5753 GB, free: 32.34 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.004872/0.4054, allocations: 3.21 MB / 0.5784 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.4073, allocations: 1.39 MB / 0.5798 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4087, allocations: 0.7717 MB / 0.5805 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/0.4088, allocations: 14.2 kB / 0.5805 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4088, allocations: 44.94 kB / 0.5806 GB, free: 30.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.444e-06/0.4088, allocations: 0 / 0.5806 GB, free: 30.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02862/0.4374, allocations: 8.313 MB / 0.5887 GB, free: 29.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4375, allocations: 65 kB / 0.5888 GB, free: 29.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4385, allocations: 0.7934 MB / 0.5895 GB, free: 29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4387, allocations: 40.86 kB / 0.5896 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.4389, allocations: 430.6 kB / 0.59 GB, free: 28.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.4392, allocations: 290.6 kB / 0.5903 GB, free: 28.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4393, allocations: 91.77 kB / 0.5903 GB, free: 28.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.4394, allocations: 344.2 kB / 0.5907 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4409, allocations: 0.7144 MB / 0.5914 GB, free: 27.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4425, allocations: 0.8386 MB / 0.5922 GB, free: 27.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01941/0.4619, allocations: 4.942 MB / 0.597 GB, free: 26.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.462, allocations: 0 / 0.597 GB, free: 26.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01617/0.4782, allocations: 4.946 MB / 0.6018 GB, free: 25.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4782, allocations: 5.5 kB / 0.6019 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4782, allocations: 4.359 kB / 0.6019 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007484/0.4857, allocations: 2.185 MB / 0.604 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.4867, allocations: 163.9 kB / 0.6041 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.5088, allocations: 9.367 MB / 0.6133 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5103, allocations: 187.1 kB / 0.6135 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.5105, allocations: 39.12 kB / 0.6135 GB, free: 19.02 MB / 430.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.0005304/0.511, allocations: 220.5 kB / 0.6137 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.5113, allocations: 105.5 kB / 0.6138 GB, free: 18.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.5245, allocations: 4.73 MB / 0.6184 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5245, allocations: 11.94 kB / 0.6185 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5245, allocations: 0 / 0.6185 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5246, allocations: 9.812 kB / 0.6185 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5392, allocations: 6.235 MB / 0.6245 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5392, allocations: 4 kB / 0.6246 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.5397, allocations: 91.89 kB / 0.6246 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005846/0.5456, allocations: 2.051 MB / 0.6266 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.5457, allocations: 16 kB / 0.6267 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01766/0.5634, allocations: 8.232 MB / 0.6347 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5634, allocations: 0.5469 kB / 0.6347 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/0.5796, allocations: 5.677 MB / 0.6402 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.58, allocations: 191.7 kB / 0.6404 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.5803, allocations: 12.7 kB / 0.6404 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5814, allocations: 132 kB / 0.6406 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/0.582, allocations: 192.7 kB / 0.6407 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.5821, allocations: 21.06 kB / 0.6408 GB, free: 6.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.5828, allocations: 0.5264 MB / 0.6413 GB, free: 6.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5828, allocations: 0 / 0.6413 GB, free: 6.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00132/0.5841, allocations: 407.5 kB / 0.6417 GB, free: 5.895 MB / 446.1 MB 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.000256/0.5844, allocations: 123.2 kB / 0.6418 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006979/0.5914, allocations: 2.567 MB / 0.6443 GB, free: 3.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5914, allocations: 0 / 0.6443 GB, free: 3.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004966/0.5964, allocations: 1.686 MB / 0.6459 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.5972, allocations: 76.61 kB / 0.646 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.6004, allocations: 2.059 MB / 0.648 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.601, allocations: 1.021 MB / 0.649 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.6013, allocations: 84.06 kB / 0.6491 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.6015, allocations: 52.92 kB / 0.6492 GB, free: 14.19 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6015, allocations: 0 / 0.6492 GB, free: 14.19 MB / 462.1 MB Notification: Performance of Templates: time 0.03152/0.633, allocations: 19.38 MB / 0.6681 GB, free: 10.99 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: