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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009057, allocations: 97.64 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.403/1.403, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.0009804/0.0009804, allocations: 180.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5132/0.5132, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 8 kB / 0.5048 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 72.46 MB / 0.5755 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.003949/0.3491, allocations: 5.654 MB / 0.581 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3522, allocations: 1.781 MB / 0.5828 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.3529, allocations: 8.812 kB / 0.5828 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.3533, allocations: 160 kB / 0.5829 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.3548, allocations: 0.6134 MB / 0.5835 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3558, allocations: 0.5146 MB / 0.584 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.357, allocations: 1.197 MB / 0.5852 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3574, allocations: 237.1 kB / 0.5854 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.358, allocations: 475.5 kB / 0.5859 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.3586, allocations: 0.5918 MB / 0.5865 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3587, allocations: 46.5 kB / 0.5865 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.3591, allocations: 176.2 kB / 0.5867 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.3593, allocations: 199.9 kB / 0.5869 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.3596, allocations: 0.5189 MB / 0.5874 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3607, allocations: 1.276 MB / 0.5886 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3607, allocations: 0 / 0.5886 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3607, allocations: 4 kB / 0.5886 GB, free: 28.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.3607, allocations: 0 / 0.5886 GB, free: 28.83 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.007522/0.3683, allocations: 2.19 MB / 0.5908 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3683, allocations: 13.62 kB / 0.5908 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.3736, allocations: 0.7667 MB / 0.5915 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.3747, allocations: 0.7066 MB / 0.5922 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.375, allocations: 259 kB / 0.5925 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3751, allocations: 72.53 kB / 0.5925 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.3772, allocations: 1.031 MB / 0.5935 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3772, allocations: 3.938 kB / 0.5936 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.3773, allocations: 29.39 kB / 0.5936 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.3773, allocations: 20.09 kB / 0.5936 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.3794, allocations: 1.062 MB / 0.5946 GB, free: 26.27 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.005211/0.3846, allocations: 3.23 MB / 0.5978 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.3867, allocations: 1.378 MB / 0.5991 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.3882, allocations: 0.7733 MB / 0.5999 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.295e-05/0.3883, allocations: 14.28 kB / 0.5999 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3883, allocations: 45.41 kB / 0.5999 GB, free: 23.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.707e-06/0.3883, allocations: 4 kB / 0.6 GB, free: 23.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.03069/0.419, allocations: 8.409 MB / 0.6082 GB, free: 21.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4191, allocations: 64.98 kB / 0.6082 GB, free: 21.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4203, allocations: 0.8085 MB / 0.609 GB, free: 21.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.4205, allocations: 40.52 kB / 0.6091 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4207, allocations: 426.8 kB / 0.6095 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.421, allocations: 295.7 kB / 0.6097 GB, free: 20.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.4211, allocations: 95.14 kB / 0.6098 GB, free: 20.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.4212, allocations: 342.8 kB / 0.6102 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4229, allocations: 0.7282 MB / 0.6109 GB, free: 20.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4246, allocations: 0.8451 MB / 0.6117 GB, free: 19.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01946/0.4441, allocations: 5.005 MB / 0.6166 GB, free: 18.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.4441, allocations: 3.938 kB / 0.6166 GB, free: 18.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01448/0.4586, allocations: 5.039 MB / 0.6215 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.4587, allocations: 9.875 kB / 0.6215 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4587, allocations: 0 / 0.6215 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006298/0.465, allocations: 2.092 MB / 0.6236 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.4659, allocations: 171.8 kB / 0.6237 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.4855, allocations: 9.576 MB / 0.6331 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.487, allocations: 191 kB / 0.6333 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/0.4871, allocations: 32 kB / 0.6333 GB, free: 1.961 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.0004262/0.4875, allocations: 235.6 kB / 0.6335 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4877, allocations: 106.7 kB / 0.6336 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.5018, allocations: 4.743 MB / 0.6382 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.5019, allocations: 12 kB / 0.6383 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5019, allocations: 4 kB / 0.6383 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5019, allocations: 7.922 kB / 0.6383 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.5186, allocations: 6.266 MB / 0.6444 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.5186, allocations: 0 / 0.6444 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.5192, allocations: 95.89 kB / 0.6445 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006662/0.5258, allocations: 2.053 MB / 0.6465 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.526, allocations: 20 kB / 0.6465 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/0.5454, allocations: 8.213 MB / 0.6545 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5455, allocations: 0 / 0.6545 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/0.5623, allocations: 5.692 MB / 0.6601 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.5627, allocations: 195.6 kB / 0.6603 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5629, allocations: 8 kB / 0.6603 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/0.5639, allocations: 131.9 kB / 0.6604 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005955/0.5645, allocations: 200.6 kB / 0.6606 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.5645, allocations: 16 kB / 0.6606 GB, free: 5.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006498/0.5652, allocations: 0.5343 MB / 0.6611 GB, free: 5.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5652, allocations: 0 / 0.6611 GB, free: 5.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001142/0.5663, allocations: 411.6 kB / 0.6615 GB, free: 4.668 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.0002462/0.5666, allocations: 135 kB / 0.6617 GB, free: 4.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007201/0.5738, allocations: 2.598 MB / 0.6642 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5739, allocations: 0 / 0.6642 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00515/0.579, allocations: 1.685 MB / 0.6658 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/0.5798, allocations: 86.12 kB / 0.6659 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.583, allocations: 2.143 MB / 0.668 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.5836, allocations: 1.029 MB / 0.669 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.5839, allocations: 78.17 kB / 0.6691 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.5841, allocations: 63.42 kB / 0.6692 GB, free: 12.78 MB / 478.1 MB Notification: Performance of SimCode: time 2.946e-06/0.5841, allocations: 3.938 kB / 0.6692 GB, free: 12.77 MB / 478.1 MB Notification: Performance of Templates: time 0.03068/0.6148, allocations: 19.65 MB / 0.6883 GB, free: 9.121 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)