Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.007234/0.007234, allocations: 169.5 kB / 15.11 MB, free: 5.582 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.319/1.319, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008215/0.0008214, allocations: 93.03 kB / 290.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4552/0.4552, allocations: 78.58 MB / 419.9 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 499.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 69.36 MB / 0.5558 GB, free: 1.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4826, allocations: 98.82 MB / 0.6523 GB, free: 3.352 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4829, allocations: 80.81 kB / 0.6524 GB, free: 3.309 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06565/0.5486, allocations: 25.95 MB / 0.6777 GB, free: 10 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5486, allocations: 4 kB / 0.6777 GB, free: 10 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.042e-05/0.5486, allocations: 20 kB / 0.6777 GB, free: 9.98 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.004884/0.5535, allocations: 1.989 MB / 0.6797 GB, free: 7.938 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5536, allocations: 16.03 kB / 0.6797 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.5568, allocations: 0.5642 MB / 0.6802 GB, free: 7.355 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.5582, allocations: 0.7402 MB / 0.681 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.5585, allocations: 272.1 kB / 0.6812 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.5586, allocations: 76 kB / 0.6813 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.561, allocations: 1.159 MB / 0.6824 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.561, allocations: 0 / 0.6824 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.5612, allocations: 36 kB / 0.6825 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.5612, allocations: 20 kB / 0.6825 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.5637, allocations: 1.234 MB / 0.6837 GB, free: 3.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/0.5698, allocations: 3.573 MB / 0.6872 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.5721, allocations: 1.508 MB / 0.6886 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.5722, allocations: 12.98 kB / 0.6887 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.5722, allocations: 45.34 kB / 0.6887 GB, free: 14.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/0.5722, allocations: 4 kB / 0.6887 GB, free: 14.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.02817/0.6004, allocations: 8.501 MB / 0.697 GB, free: 5.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.6005, allocations: 60.41 kB / 0.6971 GB, free: 5.703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.6016, allocations: 0.7503 MB / 0.6978 GB, free: 4.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.6018, allocations: 41.7 kB / 0.6978 GB, free: 4.891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.6022, allocations: 0.5009 MB / 0.6983 GB, free: 4.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.6025, allocations: 339 kB / 0.6987 GB, free: 4.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.6026, allocations: 20 kB / 0.6987 GB, free: 4.027 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6028, allocations: 345.9 kB / 0.699 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.6044, allocations: 0.7203 MB / 0.6997 GB, free: 2.965 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.6059, allocations: 0.8273 MB / 0.7005 GB, free: 2.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6075, allocations: 0.7497 MB / 0.7012 GB, free: 1.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6075, allocations: 0 / 0.7012 GB, free: 1.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0141/0.6216, allocations: 4.965 MB / 0.7061 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6217, allocations: 4 kB / 0.7061 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6217, allocations: 4 kB / 0.7061 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006659/0.6283, allocations: 2.099 MB / 0.7082 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.6292, allocations: 179 kB / 0.7083 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/0.6509, allocations: 9.961 MB / 0.7181 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.6524, allocations: 211.2 kB / 0.7183 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.6525, allocations: 28 kB / 0.7183 GB, free: 15.76 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0005174/0.653, allocations: 239.6 kB / 0.7185 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.6532, allocations: 118.5 kB / 0.7186 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.6673, allocations: 4.975 MB / 0.7235 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.6673, allocations: 8 kB / 0.7235 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6673, allocations: 5.391 kB / 0.7235 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.6674, allocations: 3.984 kB / 0.7235 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.6828, allocations: 6.562 MB / 0.7299 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.6828, allocations: 0 / 0.7299 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.6837, allocations: 151.8 kB / 0.73 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/0.6897, allocations: 2.058 MB / 0.7321 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.6898, allocations: 16 kB / 0.7321 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.7083, allocations: 8.644 MB / 0.7405 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7083, allocations: 0 / 0.7405 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.7244, allocations: 5.994 MB / 0.7464 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.7249, allocations: 215.3 kB / 0.7466 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.7251, allocations: 27.12 kB / 0.7466 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7262, allocations: 155.9 kB / 0.7467 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006807/0.7269, allocations: 216.5 kB / 0.747 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.727, allocations: 24 kB / 0.747 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007972/0.7278, allocations: 0.5903 MB / 0.7476 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7278, allocations: 0 / 0.7476 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001169/0.729, allocations: 427.5 kB / 0.748 GB, free: 1.027 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 () * Number of clocked 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.0002974/0.7293, allocations: 147.1 kB / 0.7481 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006952/0.7362, allocations: 2.595 MB / 0.7506 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7363, allocations: 0 / 0.7506 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005039/0.7413, allocations: 1.805 MB / 0.7524 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.742, allocations: 72.41 kB / 0.7525 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.7458, allocations: 2.456 MB / 0.7549 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.7465, allocations: 1.122 MB / 0.756 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003671/0.7469, allocations: 73.56 kB / 0.756 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.7471, allocations: 51.44 kB / 0.7561 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/0.7471, allocations: 0 / 0.7561 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of Templates: time 0.03097/0.7781, allocations: 19.54 MB / 0.7752 GB, free: 5.133 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)