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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.007093/0.007093, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001255/0.001255, allocations: 176.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4517/0.4517, allocations: 78.52 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 79.86 kB / 0.5536 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3665, allocations: 68.17 MB / 0.6202 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004709/0.3712, allocations: 5.739 MB / 0.6258 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.3743, allocations: 1.728 MB / 0.6275 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000481/0.3748, allocations: 12 kB / 0.6275 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.3753, allocations: 210.2 kB / 0.6277 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.3768, allocations: 0.7287 MB / 0.6284 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3779, allocations: 0.5615 MB / 0.629 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.3788, allocations: 1.249 MB / 0.6302 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.3792, allocations: 275.1 kB / 0.6304 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.3798, allocations: 0.5173 MB / 0.6309 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.3806, allocations: 0.6533 MB / 0.6316 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.3807, allocations: 88 kB / 0.6317 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.3812, allocations: 227.9 kB / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.3814, allocations: 246.8 kB / 0.6321 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.3819, allocations: 0.5437 MB / 0.6327 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.3834, allocations: 1.348 MB / 0.634 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3834, allocations: 0 / 0.634 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3834, allocations: 0 / 0.634 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.3834, allocations: 0 / 0.634 GB, free: 12.09 MB / 446.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.007879/0.3913, allocations: 2.349 MB / 0.6363 GB, free: 9.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.3914, allocations: 8.031 kB / 0.6363 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.3966, allocations: 0.7711 MB / 0.637 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.398, allocations: 0.7127 MB / 0.6377 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.3983, allocations: 252.2 kB / 0.638 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3985, allocations: 68 kB / 0.638 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.4006, allocations: 0.956 MB / 0.639 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4007, allocations: 3.938 kB / 0.639 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.4008, allocations: 24 kB / 0.639 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4008, allocations: 16 kB / 0.639 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.4031, allocations: 0.9799 MB / 0.64 GB, free: 5.816 MB / 446.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.005456/0.4086, allocations: 3.154 MB / 0.643 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4107, allocations: 1.303 MB / 0.6443 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.4122, allocations: 0.7022 MB / 0.645 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.4123, allocations: 8.656 kB / 0.645 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4123, allocations: 39.22 kB / 0.645 GB, free: 336 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.4123, allocations: 0 / 0.645 GB, free: 336 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.0287/0.441, allocations: 6.767 MB / 0.6516 GB, free: 9.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4411, allocations: 60.06 kB / 0.6517 GB, free: 9.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4423, allocations: 0.8103 MB / 0.6525 GB, free: 8.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.4424, allocations: 37.7 kB / 0.6525 GB, free: 8.574 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.4428, allocations: 436.4 kB / 0.653 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.4431, allocations: 291.8 kB / 0.6532 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.4435, allocations: 182.9 kB / 0.6534 GB, free: 7.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4436, allocations: 341.9 kB / 0.6537 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.4451, allocations: 0.6545 MB / 0.6544 GB, free: 6.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4468, allocations: 0.7718 MB / 0.6551 GB, free: 5.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.4654, allocations: 4.5 MB / 0.6595 GB, free: 1.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.4655, allocations: 4 kB / 0.6595 GB, free: 1.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01401/0.4795, allocations: 4.113 MB / 0.6635 GB, free: 13.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4796, allocations: 8 kB / 0.6635 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.4796, allocations: 4 kB / 0.6635 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006544/0.4862, allocations: 1.791 MB / 0.6653 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.487, allocations: 167.7 kB / 0.6655 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.5097, allocations: 9.313 MB / 0.6746 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5111, allocations: 155 kB / 0.6747 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5113, allocations: 39.98 kB / 0.6747 GB, free: 1.57 MB / 478.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.0004468/0.5117, allocations: 232.2 kB / 0.675 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.5119, allocations: 98.78 kB / 0.6751 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.5251, allocations: 3.833 MB / 0.6788 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.5252, allocations: 8 kB / 0.6788 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5252, allocations: 0 / 0.6788 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.5252, allocations: 3.984 kB / 0.6788 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.5407, allocations: 5.357 MB / 0.684 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5407, allocations: 0 / 0.684 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.5413, allocations: 91.83 kB / 0.6841 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006138/0.5475, allocations: 1.745 MB / 0.6858 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.5476, allocations: 19.98 kB / 0.6858 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.5669, allocations: 8.048 MB / 0.6937 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5669, allocations: 3.938 kB / 0.6937 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.5821, allocations: 4.72 MB / 0.6983 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.5825, allocations: 187.7 kB / 0.6985 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5827, allocations: 12 kB / 0.6985 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/0.5836, allocations: 91.98 kB / 0.6986 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/0.5842, allocations: 204.6 kB / 0.6988 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.5843, allocations: 20 kB / 0.6988 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006311/0.585, allocations: 0.5421 MB / 0.6993 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.585, allocations: 0 / 0.6993 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001086/0.5861, allocations: 407.5 kB / 0.6997 GB, free: 7.594 MB / 0.4981 GB 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.0002477/0.5863, allocations: 135.1 kB / 0.6999 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006452/0.5928, allocations: 2.318 MB / 0.7021 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5928, allocations: 8.062 kB / 0.7021 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004711/0.5975, allocations: 1.495 MB / 0.7036 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.5982, allocations: 85.09 kB / 0.7037 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.6011, allocations: 1.734 MB / 0.7054 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.6017, allocations: 1.029 MB / 0.7064 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000264/0.602, allocations: 82.19 kB / 0.7065 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.6022, allocations: 55.44 kB / 0.7065 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.6022, allocations: 3.938 kB / 0.7065 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of Templates: time 0.03318/0.6354, allocations: 22.58 MB / 0.7286 GB, free: 9.98 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)