Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.363/1.363, allocations: 222.9 MB / 238.8 MB, free: 4.695 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.001283/0.001282, allocations: 188.3 kB / 289.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5495/0.5495, allocations: 91.89 MB / 431.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 83.86 kB / 0.5012 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3449, allocations: 71.26 MB / 0.5708 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005255/0.3502, allocations: 6.052 MB / 0.5767 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.3539, allocations: 1.783 MB / 0.5784 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.3545, allocations: 10.66 kB / 0.5785 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.355, allocations: 160.4 kB / 0.5786 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.3567, allocations: 0.5978 MB / 0.5792 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3578, allocations: 0.5284 MB / 0.5797 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009657/0.3588, allocations: 1.175 MB / 0.5809 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.3591, allocations: 239.6 kB / 0.5811 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.3595, allocations: 491.2 kB / 0.5816 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.36, allocations: 0.6073 MB / 0.5821 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.786e-05/0.3601, allocations: 56.56 kB / 0.5822 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3604, allocations: 185.2 kB / 0.5824 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.3606, allocations: 213.8 kB / 0.5826 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.3609, allocations: 0.5072 MB / 0.5831 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.3618, allocations: 1.287 MB / 0.5843 GB, free: 28.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3618, allocations: 0 / 0.5843 GB, free: 28.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3618, allocations: 0 / 0.5843 GB, free: 28.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3619, allocations: 0 / 0.5843 GB, free: 28.89 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.007035/0.3689, allocations: 2.335 MB / 0.5866 GB, free: 27.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.369, allocations: 13.88 kB / 0.5866 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.3738, allocations: 0.7535 MB / 0.5874 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.3747, allocations: 0.7018 MB / 0.588 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.375, allocations: 251.1 kB / 0.5883 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.3751, allocations: 69.78 kB / 0.5884 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.377, allocations: 0.9452 MB / 0.5893 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.377, allocations: 3.938 kB / 0.5893 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.3771, allocations: 29.75 kB / 0.5893 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3771, allocations: 16.09 kB / 0.5893 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.379, allocations: 0.9658 MB / 0.5903 GB, free: 26.25 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.004585/0.3836, allocations: 3.148 MB / 0.5933 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.3854, allocations: 1.317 MB / 0.5946 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.3867, allocations: 0.6967 MB / 0.5953 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-05/0.3868, allocations: 13.02 kB / 0.5953 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3868, allocations: 42.81 kB / 0.5954 GB, free: 23.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.495e-06/0.3868, allocations: 0 / 0.5954 GB, free: 23.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02634/0.4132, allocations: 6.689 MB / 0.6019 GB, free: 22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4132, allocations: 60.88 kB / 0.602 GB, free: 21.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4143, allocations: 0.7995 MB / 0.6027 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.4145, allocations: 40.27 kB / 0.6028 GB, free: 21.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.4147, allocations: 424.9 kB / 0.6032 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4149, allocations: 292.7 kB / 0.6035 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.4153, allocations: 178.9 kB / 0.6036 GB, free: 20.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.4154, allocations: 343.6 kB / 0.604 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.4167, allocations: 0.6409 MB / 0.6046 GB, free: 20.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.4182, allocations: 0.7584 MB / 0.6053 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.4357, allocations: 4.449 MB / 0.6097 GB, free: 18.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4358, allocations: 1.219 kB / 0.6097 GB, free: 18.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01281/0.4486, allocations: 4.038 MB / 0.6136 GB, free: 17.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4486, allocations: 5.25 kB / 0.6136 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4487, allocations: 6.453 kB / 0.6136 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005829/0.4545, allocations: 1.862 MB / 0.6154 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.4553, allocations: 163.7 kB / 0.6156 GB, free: 16.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.4725, allocations: 8.37 MB / 0.6238 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4739, allocations: 147.1 kB / 0.6239 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.474, allocations: 39.98 kB / 0.6239 GB, free: 7.832 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.0004297/0.4745, allocations: 229.5 kB / 0.6242 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.4746, allocations: 102.7 kB / 0.6243 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4859, allocations: 3.817 MB / 0.628 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.4859, allocations: 11.94 kB / 0.628 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4859, allocations: 0 / 0.628 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4859, allocations: 3.984 kB / 0.628 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.4989, allocations: 5.332 MB / 0.6332 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.499, allocations: 0 / 0.6332 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.4995, allocations: 91.88 kB / 0.6333 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005723/0.5052, allocations: 1.741 MB / 0.635 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5053, allocations: 12 kB / 0.635 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.5223, allocations: 7.362 MB / 0.6422 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5223, allocations: 0 / 0.6422 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.5363, allocations: 4.688 MB / 0.6468 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.5367, allocations: 183.9 kB / 0.647 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.5369, allocations: 19.98 kB / 0.647 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009065/0.5378, allocations: 87.97 kB / 0.6471 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/0.5384, allocations: 196.6 kB / 0.6472 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.5385, allocations: 20 kB / 0.6473 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006376/0.5391, allocations: 0.5264 MB / 0.6478 GB, free: 15.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5391, allocations: 0 / 0.6478 GB, free: 15.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001109/0.5402, allocations: 407.5 kB / 0.6482 GB, free: 14.67 MB / 462.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.0002453/0.5405, allocations: 124.1 kB / 0.6483 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006109/0.5466, allocations: 2.258 MB / 0.6505 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5466, allocations: 0.5625 kB / 0.6505 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.5511, allocations: 1.466 MB / 0.6519 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.5519, allocations: 71.31 kB / 0.652 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.5551, allocations: 2.031 MB / 0.654 GB, free: 8.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.5557, allocations: 1.025 MB / 0.655 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.556, allocations: 74.19 kB / 0.655 GB, free: 7.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.5562, allocations: 51.44 kB / 0.6551 GB, free: 7.5 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5562, allocations: 0 / 0.6551 GB, free: 7.5 MB / 462.1 MB Notification: Performance of Templates: time 0.03035/0.5866, allocations: 19.82 MB / 0.6745 GB, free: 3.684 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)