Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004471/0.004471, allocations: 171.5 kB / 15.11 MB, free: 5.969 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.253/1.253, allocations: 223.2 MB / 239 MB, free: 1.754 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 97.95 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.429/0.429, allocations: 79.43 MB / 420.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 11.98 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3344, allocations: 69.49 MB / 0.5569 GB, free: 39.12 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4454, allocations: 99.13 MB / 0.6537 GB, free: 6.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4457, allocations: 79.95 kB / 0.6538 GB, free: 6.379 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06615/0.5118, allocations: 26.11 MB / 0.6793 GB, free: 12.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5119, allocations: 0 / 0.6793 GB, free: 12.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.512, allocations: 20 kB / 0.6793 GB, free: 12.11 MB / 490.7 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.006367/0.5184, allocations: 1.99 MB / 0.6813 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5185, allocations: 8.031 kB / 0.6813 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.5222, allocations: 0.5603 MB / 0.6818 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.5241, allocations: 0.7323 MB / 0.6825 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.5245, allocations: 272.2 kB / 0.6828 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.5248, allocations: 76 kB / 0.6829 GB, free: 8.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.5274, allocations: 1.155 MB / 0.684 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.5275, allocations: 0 / 0.684 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5276, allocations: 32 kB / 0.684 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5276, allocations: 24 kB / 0.684 GB, free: 7.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.5303, allocations: 1.238 MB / 0.6852 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007244/0.5375, allocations: 3.565 MB / 0.6887 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.5398, allocations: 1.502 MB / 0.6902 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.54, allocations: 16.98 kB / 0.6902 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.743e-05/0.5401, allocations: 47.48 kB / 0.6903 GB, free: 484 kB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.828e-06/0.5401, allocations: 0 / 0.6903 GB, free: 484 kB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.02812/0.5682, allocations: 8.465 MB / 0.6985 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5683, allocations: 68.41 kB / 0.6986 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5695, allocations: 0.7543 MB / 0.6993 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.5697, allocations: 41.7 kB / 0.6994 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5701, allocations: 0.5127 MB / 0.6999 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.5706, allocations: 339 kB / 0.7002 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.5707, allocations: 16 kB / 0.7002 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5708, allocations: 333.9 kB / 0.7005 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.5724, allocations: 0.7203 MB / 0.7012 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.574, allocations: 0.8156 MB / 0.702 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.5756, allocations: 0.7536 MB / 0.7028 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.5756, allocations: 3.984 kB / 0.7028 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01404/0.5897, allocations: 4.918 MB / 0.7076 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5898, allocations: 4.781 kB / 0.7076 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5898, allocations: 8 kB / 0.7076 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006568/0.5963, allocations: 2.103 MB / 0.7096 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/0.5973, allocations: 175.8 kB / 0.7098 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.6195, allocations: 9.989 MB / 0.7196 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6209, allocations: 203.1 kB / 0.7197 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.6211, allocations: 28 kB / 0.7198 GB, free: 1.977 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005519/0.6217, allocations: 237.6 kB / 0.72 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.6219, allocations: 118.5 kB / 0.7201 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.6358, allocations: 4.967 MB / 0.725 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6359, allocations: 11.94 kB / 0.725 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6359, allocations: 0 / 0.725 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.6359, allocations: 7.984 kB / 0.725 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.6521, allocations: 6.582 MB / 0.7314 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6522, allocations: 0 / 0.7314 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.653, allocations: 147.8 kB / 0.7315 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006168/0.6592, allocations: 2.055 MB / 0.7336 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.6594, allocations: 19.98 kB / 0.7336 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.6786, allocations: 8.655 MB / 0.742 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6786, allocations: 0 / 0.742 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.6948, allocations: 6.013 MB / 0.7479 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.6952, allocations: 215.3 kB / 0.7481 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.6956, allocations: 19.98 kB / 0.7481 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.6969, allocations: 155.9 kB / 0.7483 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007545/0.6977, allocations: 212.6 kB / 0.7485 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.6978, allocations: 24 kB / 0.7485 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008884/0.6987, allocations: 0.593 MB / 0.7491 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 4 kB / 0.7491 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001422/0.7001, allocations: 423.5 kB / 0.7495 GB, free: 3.188 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002796/0.7004, allocations: 149.9 kB / 0.7496 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006338/0.7068, allocations: 2.602 MB / 0.7522 GB, free: 428 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7068, allocations: 0 / 0.7522 GB, free: 428 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004694/0.7115, allocations: 1.796 MB / 0.7539 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.7123, allocations: 81.39 kB / 0.754 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.7167, allocations: 2.391 MB / 0.7563 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.7175, allocations: 1.118 MB / 0.7574 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003937/0.7179, allocations: 73.56 kB / 0.7575 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.7181, allocations: 51.42 kB / 0.7575 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.7181, allocations: 0 / 0.7575 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of Templates: time 0.2489/0.967, allocations: 19.64 MB / 0.7767 GB, free: 146.2 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)