Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 104.1 kB / 15.98 MB, free: 6.352 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: 222.9 MB / 239.6 MB, free: 4.715 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.001477/0.001477, allocations: 188.5 kB / 289.9 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4567/0.4567, allocations: 78.53 MB / 418.6 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 75.88 kB / 497.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1465, allocations: 68.17 MB / 0.5525 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2532/0.3997, allocations: 6.771 MB / 0.5591 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.4036, allocations: 1.897 MB / 0.561 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.4045, allocations: 15.59 kB / 0.561 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.4051, allocations: 165.7 kB / 0.5611 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.4069, allocations: 0.6331 MB / 0.5618 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.4082, allocations: 0.5598 MB / 0.5623 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.4097, allocations: 1.411 MB / 0.5637 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.4101, allocations: 323.4 kB / 0.564 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.4109, allocations: 0.5937 MB / 0.5646 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.4116, allocations: 0.7286 MB / 0.5653 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.4118, allocations: 103.5 kB / 0.5654 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.4123, allocations: 237.6 kB / 0.5656 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.4125, allocations: 279.6 kB / 0.5659 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.413, allocations: 0.6381 MB / 0.5665 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.4141, allocations: 1.143 MB / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4142, allocations: 5.75 kB / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4142, allocations: 0 / 0.5676 GB, free: 34.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.4142, allocations: 0 / 0.5676 GB, free: 34.19 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007411/0.4216, allocations: 2.556 MB / 0.5701 GB, free: 33.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4217, allocations: 12.03 kB / 0.5701 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004567/0.4262, allocations: 0.7794 MB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4274, allocations: 0.7731 MB / 0.5716 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.4276, allocations: 262.1 kB / 0.5719 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.4278, allocations: 82.84 kB / 0.572 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.4299, allocations: 1.075 MB / 0.573 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.4299, allocations: 4.688 kB / 0.573 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.43, allocations: 27.75 kB / 0.5731 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.43, allocations: 21 kB / 0.5731 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.4323, allocations: 1.127 MB / 0.5742 GB, free: 32.51 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.005534/0.4378, allocations: 3.463 MB / 0.5776 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.4397, allocations: 1.422 MB / 0.5789 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4412, allocations: 0.785 MB / 0.5797 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4413, allocations: 17.27 kB / 0.5797 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4413, allocations: 50.16 kB / 0.5798 GB, free: 30.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/0.4413, allocations: 0 / 0.5798 GB, free: 30.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02497/0.4663, allocations: 6.601 MB / 0.5862 GB, free: 28.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4664, allocations: 64.69 kB / 0.5863 GB, free: 28.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.468, allocations: 0.9018 MB / 0.5872 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.4683, allocations: 45.8 kB / 0.5872 GB, free: 28.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.4687, allocations: 498.4 kB / 0.5877 GB, free: 28.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/0.4692, allocations: 348.5 kB / 0.588 GB, free: 27.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.4697, allocations: 198.8 kB / 0.5882 GB, free: 27.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4699, allocations: 352.8 kB / 0.5885 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4716, allocations: 0.7225 MB / 0.5892 GB, free: 27.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.4734, allocations: 0.8489 MB / 0.5901 GB, free: 26.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01984/0.4932, allocations: 4.839 MB / 0.5948 GB, free: 25.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4933, allocations: 0 / 0.5948 GB, free: 25.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01478/0.5081, allocations: 4.273 MB / 0.599 GB, free: 24.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.5081, allocations: 6.672 kB / 0.599 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.5082, allocations: 6.562 kB / 0.599 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/0.5151, allocations: 1.811 MB / 0.6008 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5163, allocations: 212.1 kB / 0.601 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.5388, allocations: 9.335 MB / 0.6101 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.5406, allocations: 174.5 kB / 0.6102 GB, free: 19.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.5409, allocations: 42.64 kB / 0.6103 GB, free: 19.14 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0007178/0.5416, allocations: 245.1 kB / 0.6105 GB, free: 18.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.542, allocations: 120.2 kB / 0.6106 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.5542, allocations: 4.016 MB / 0.6146 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5543, allocations: 12 kB / 0.6146 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.5543, allocations: 1.25 kB / 0.6146 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.5544, allocations: 8.969 kB / 0.6146 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.5687, allocations: 5.618 MB / 0.6201 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.5687, allocations: 0 / 0.6201 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.5695, allocations: 129.5 kB / 0.6202 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/0.575, allocations: 1.753 MB / 0.6219 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.5752, allocations: 20 kB / 0.6219 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/0.5919, allocations: 8.07 MB / 0.6298 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5919, allocations: 1 kB / 0.6298 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.6071, allocations: 4.962 MB / 0.6346 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.6076, allocations: 203.4 kB / 0.6348 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/0.608, allocations: 20 kB / 0.6349 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6092, allocations: 111.8 kB / 0.635 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007987/0.61, allocations: 217.4 kB / 0.6352 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.6102, allocations: 24 kB / 0.6352 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009245/0.6111, allocations: 0.6047 MB / 0.6358 GB, free: 9.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6111, allocations: 3.938 kB / 0.6358 GB, free: 9.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001697/0.6128, allocations: 443.4 kB / 0.6362 GB, free: 9.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.000334/0.6132, allocations: 131.1 kB / 0.6363 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007386/0.6206, allocations: 2.526 MB / 0.6388 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6206, allocations: 0 / 0.6388 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004858/0.6255, allocations: 1.594 MB / 0.6404 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6267, allocations: 90.34 kB / 0.6404 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.6313, allocations: 2.489 MB / 0.6429 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.6321, allocations: 1.095 MB / 0.6439 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.6325, allocations: 75.41 kB / 0.644 GB, free: 1.039 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6326, allocations: 0 / 0.644 GB, free: 1.039 MB / 446.1 MB Notification: Performance of Templates: time 0.02888/0.6614, allocations: 20.1 MB / 0.6636 GB, free: 13.09 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)