Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.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 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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0008815/0.0008815, allocations: 91.3 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.458/0.458, allocations: 78.06 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.338e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 69.36 MB / 0.5413 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5012, allocations: 98.09 MB / 0.6371 GB, free: 1.488 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5015, allocations: 84.14 kB / 0.6371 GB, free: 1.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06858/0.5701, allocations: 25.54 MB / 0.6621 GB, free: 7.906 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5701, allocations: 0 / 0.6621 GB, free: 7.906 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.712e-05/0.5702, allocations: 23.94 kB / 0.6621 GB, free: 7.883 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00536/0.5756, allocations: 1.774 MB / 0.6638 GB, free: 6.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5756, allocations: 12.59 kB / 0.6639 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.5791, allocations: 0.5564 MB / 0.6644 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.5811, allocations: 0.7364 MB / 0.6651 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.5815, allocations: 240.1 kB / 0.6653 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003056/0.5818, allocations: 59.84 kB / 0.6654 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001893/0.5837, allocations: 0.8163 MB / 0.6662 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5854, allocations: 0.7769 MB / 0.667 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5854, allocations: 0 / 0.667 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.5855, allocations: 0 / 0.667 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.5855, allocations: 20 kB / 0.667 GB, free: 2.754 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006833/0.5924, allocations: 3.429 MB / 0.6703 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.5937, allocations: 1.191 MB / 0.6715 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/0.5946, allocations: 0.5622 MB / 0.672 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.5947, allocations: 16.77 kB / 0.6721 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5948, allocations: 51.28 kB / 0.6721 GB, free: 13.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.845e-06/0.5948, allocations: 0 / 0.6721 GB, free: 13.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01202/0.6068, allocations: 4.019 MB / 0.676 GB, free: 9.207 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6069, allocations: 60.19 kB / 0.6761 GB, free: 9.133 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.608, allocations: 0.6756 MB / 0.6767 GB, free: 8.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.6082, allocations: 29.64 kB / 0.6768 GB, free: 8.406 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.6086, allocations: 0.5017 MB / 0.6773 GB, free: 7.898 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.6091, allocations: 327 kB / 0.6776 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.6091, allocations: 0 / 0.6776 GB, free: 7.574 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6093, allocations: 345.9 kB / 0.6779 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.61, allocations: 430.6 kB / 0.6783 GB, free: 6.809 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.6108, allocations: 0.5199 MB / 0.6788 GB, free: 6.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007757/0.6116, allocations: 475.5 kB / 0.6793 GB, free: 5.797 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6116, allocations: 4 kB / 0.6793 GB, free: 5.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01211/0.6237, allocations: 4.122 MB / 0.6833 GB, free: 1.656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.6238, allocations: 15.89 kB / 0.6833 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.6239, allocations: 0 / 0.6833 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/0.6295, allocations: 1.681 MB / 0.685 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.6304, allocations: 167.8 kB / 0.6851 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.645, allocations: 7.06 MB / 0.692 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6467, allocations: 185.3 kB / 0.6922 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.647, allocations: 31.98 kB / 0.6922 GB, free: 8.395 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005288/0.6475, allocations: 123.5 kB / 0.6923 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.648, allocations: 114.6 kB / 0.6925 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6605, allocations: 4.139 MB / 0.6965 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.6606, allocations: 8 kB / 0.6965 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6606, allocations: 7.266 kB / 0.6965 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/0.6606, allocations: 7.969 kB / 0.6965 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.6754, allocations: 5.629 MB / 0.702 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6755, allocations: 0 / 0.702 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.6764, allocations: 151.8 kB / 0.7022 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/0.6818, allocations: 1.669 MB / 0.7038 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/0.6821, allocations: 12 kB / 0.7038 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.6948, allocations: 6.187 MB / 0.7098 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6949, allocations: 4 kB / 0.7098 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.7087, allocations: 4.888 MB / 0.7146 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.7093, allocations: 207.3 kB / 0.7148 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.7096, allocations: 0 / 0.7148 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.7111, allocations: 139.9 kB / 0.715 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007696/0.7118, allocations: 216.9 kB / 0.7152 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.712, allocations: 24 kB / 0.7152 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008652/0.7129, allocations: 0.5147 MB / 0.7157 GB, free: 56 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7129, allocations: 0 / 0.7157 GB, free: 56 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001684/0.7146, allocations: 396.2 kB / 0.7161 GB, free: 15.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.0003572/0.7149, allocations: 134.7 kB / 0.7162 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005314/0.7203, allocations: 1.956 MB / 0.7181 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7203, allocations: 0 / 0.7181 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004346/0.7246, allocations: 1.451 MB / 0.7195 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.7255, allocations: 65.62 kB / 0.7196 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.7289, allocations: 1.489 MB / 0.721 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.7297, allocations: 1.125 MB / 0.7221 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004116/0.7302, allocations: 69.56 kB / 0.7222 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.7304, allocations: 55.42 kB / 0.7223 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/0.7304, allocations: 3.938 kB / 0.7223 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.03206/0.7625, allocations: 18.09 MB / 0.7399 GB, free: 7.324 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)