Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 174.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008128/0.0008127, allocations: 93.81 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.501/0.501, allocations: 78.43 MB / 419.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 15.94 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2393, allocations: 68.74 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004289/0.2436, allocations: 6.032 MB / 0.5604 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.246, allocations: 1.767 MB / 0.5621 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.2463, allocations: 11.94 kB / 0.5621 GB, free: 12.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.2467, allocations: 163 kB / 0.5623 GB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2479, allocations: 0.6062 MB / 0.5629 GB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.2487, allocations: 0.5205 MB / 0.5634 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.2495, allocations: 1.167 MB / 0.5645 GB, free: 9.898 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.2497, allocations: 239.5 kB / 0.5648 GB, free: 9.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.2501, allocations: 473.7 kB / 0.5652 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.2505, allocations: 0.5791 MB / 0.5658 GB, free: 8.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.2506, allocations: 48 kB / 0.5658 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.2509, allocations: 175.8 kB / 0.566 GB, free: 8.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.251, allocations: 198.9 kB / 0.5662 GB, free: 8.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.2513, allocations: 492.9 kB / 0.5666 GB, free: 7.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.2519, allocations: 0.9874 MB / 0.5676 GB, free: 6.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2519, allocations: 0 / 0.5676 GB, free: 6.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2519, allocations: 4 kB / 0.5676 GB, free: 6.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2519, allocations: 0 / 0.5676 GB, free: 6.715 MB / 378.7 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.00583/0.2577, allocations: 2.127 MB / 0.5697 GB, free: 4.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2578, allocations: 8.031 kB / 0.5697 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.2624, allocations: 0.7556 MB / 0.5704 GB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.2632, allocations: 0.6972 MB / 0.5711 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.2634, allocations: 251.5 kB / 0.5714 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2635, allocations: 64 kB / 0.5714 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2651, allocations: 0.9395 MB / 0.5723 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2651, allocations: 7.875 kB / 0.5723 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.2652, allocations: 24 kB / 0.5724 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2652, allocations: 20 kB / 0.5724 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.2669, allocations: 0.9694 MB / 0.5733 GB, free: 0.7188 MB / 378.7 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.004783/0.2717, allocations: 3.147 MB / 0.5764 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.2737, allocations: 1.322 MB / 0.5777 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.275, allocations: 0.6983 MB / 0.5784 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.2751, allocations: 16.58 kB / 0.5784 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2752, allocations: 43.22 kB / 0.5784 GB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.2752, allocations: 0 / 0.5784 GB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02561/0.3008, allocations: 6.704 MB / 0.585 GB, free: 4.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3009, allocations: 60.06 kB / 0.585 GB, free: 4.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.3018, allocations: 0.7943 MB / 0.5858 GB, free: 3.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.3019, allocations: 41.7 kB / 0.5859 GB, free: 3.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.3023, allocations: 420.5 kB / 0.5863 GB, free: 3.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.3025, allocations: 291.8 kB / 0.5865 GB, free: 2.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3027, allocations: 93.66 kB / 0.5866 GB, free: 2.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3028, allocations: 349.9 kB / 0.587 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.3042, allocations: 0.6386 MB / 0.5876 GB, free: 1.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3057, allocations: 0.7627 MB / 0.5883 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01955/0.3252, allocations: 4.449 MB / 0.5927 GB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3253, allocations: 0 / 0.5927 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01478/0.3401, allocations: 4.031 MB / 0.5966 GB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3401, allocations: 12 kB / 0.5966 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3401, allocations: 4 kB / 0.5966 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006005/0.3462, allocations: 1.862 MB / 0.5984 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.347, allocations: 159.8 kB / 0.5986 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.3659, allocations: 8.376 MB / 0.6068 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3671, allocations: 147.1 kB / 0.6069 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.3672, allocations: 36 kB / 0.6069 GB, free: 13.71 MB / 426.7 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.0004229/0.3676, allocations: 225.6 kB / 0.6072 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.3678, allocations: 102.7 kB / 0.6073 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.38, allocations: 3.817 MB / 0.611 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.38, allocations: 15.94 kB / 0.611 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.38, allocations: 0 / 0.611 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.38, allocations: 7.984 kB / 0.611 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.3939, allocations: 5.321 MB / 0.6162 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.3939, allocations: 4 kB / 0.6162 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.3944, allocations: 83.89 kB / 0.6163 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005704/0.4001, allocations: 1.741 MB / 0.618 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.4003, allocations: 12 kB / 0.618 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.4168, allocations: 7.37 MB / 0.6252 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4168, allocations: 0 / 0.6252 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/0.431, allocations: 4.688 MB / 0.6298 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.4313, allocations: 187.7 kB / 0.63 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4314, allocations: 12 kB / 0.63 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/0.4323, allocations: 91.95 kB / 0.6301 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/0.4329, allocations: 192.7 kB / 0.6302 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.4329, allocations: 20 kB / 0.6303 GB, free: 5.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006164/0.4336, allocations: 0.5341 MB / 0.6308 GB, free: 4.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4336, allocations: 0 / 0.6308 GB, free: 4.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00104/0.4346, allocations: 407.5 kB / 0.6312 GB, free: 4.547 MB / 442.7 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.0002213/0.4348, allocations: 127.1 kB / 0.6313 GB, free: 4.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005947/0.4408, allocations: 2.255 MB / 0.6335 GB, free: 2.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4408, allocations: 0 / 0.6335 GB, free: 2.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.4451, allocations: 1.451 MB / 0.6349 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.4457, allocations: 79.25 kB / 0.635 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.4486, allocations: 2.043 MB / 0.637 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.4491, allocations: 1.025 MB / 0.638 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.4493, allocations: 55.42 kB / 0.638 GB, free: 13.43 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4493, allocations: 4 kB / 0.638 GB, free: 13.42 MB / 458.7 MB Notification: Performance of Templates: time 0.02098/0.4703, allocations: 17.46 MB / 0.6551 GB, free: 11.93 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)