Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.2 MB / 218.5 MB, free: 9.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 90.69 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06556/0.06556, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2862/0.2862, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.821e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09778, allocations: 69.32 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4502, allocations: 100.3 MB / 0.6874 GB, free: 15.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4505, allocations: 81.27 kB / 0.6875 GB, free: 15.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06741/0.5179, allocations: 25.1 MB / 0.712 GB, free: 9.887 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5179, allocations: 0 / 0.712 GB, free: 9.887 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.791e-05/0.518, allocations: 20 kB / 0.7121 GB, free: 9.867 MB / 458.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.004608/0.5226, allocations: 1.788 MB / 0.7138 GB, free: 8.148 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5227, allocations: 11.98 kB / 0.7138 GB, free: 8.137 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.526, allocations: 0.5585 MB / 0.7144 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5274, allocations: 0.7339 MB / 0.7151 GB, free: 6.969 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.5277, allocations: 273.7 kB / 0.7153 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.5279, allocations: 73.38 kB / 0.7154 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.5295, allocations: 0.8728 MB / 0.7163 GB, free: 6.086 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5295, allocations: 0 / 0.7163 GB, free: 6.086 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.5296, allocations: 29.81 kB / 0.7163 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5296, allocations: 16 kB / 0.7163 GB, free: 6.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5311, allocations: 0.8633 MB / 0.7171 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.5373, allocations: 3.579 MB / 0.7206 GB, free: 2.746 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.5387, allocations: 1.218 MB / 0.7218 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/0.5397, allocations: 0.593 MB / 0.7224 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.5398, allocations: 16.73 kB / 0.7224 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5398, allocations: 46.28 kB / 0.7225 GB, free: 1.355 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/0.5398, allocations: 0 / 0.7225 GB, free: 1.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.0128/0.5526, allocations: 4.092 MB / 0.7265 GB, free: 13.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5527, allocations: 67.94 kB / 0.7265 GB, free: 13.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.5537, allocations: 0.731 MB / 0.7272 GB, free: 13.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.5539, allocations: 42.52 kB / 0.7273 GB, free: 13.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5542, allocations: 0.4921 MB / 0.7278 GB, free: 12.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.5546, allocations: 348.7 kB / 0.7281 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.5547, allocations: 17.5 kB / 0.7281 GB, free: 12.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5548, allocations: 346.8 kB / 0.7284 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.5556, allocations: 446.4 kB / 0.7289 GB, free: 11.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.5564, allocations: 0.5396 MB / 0.7294 GB, free: 11.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.5572, allocations: 490.7 kB / 0.7299 GB, free: 11.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5572, allocations: 0 / 0.7299 GB, free: 11.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01282/0.57, allocations: 4.208 MB / 0.734 GB, free: 7.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.5701, allocations: 4 kB / 0.734 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5701, allocations: 4 kB / 0.734 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/0.576, allocations: 1.727 MB / 0.7357 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009602/0.577, allocations: 169.2 kB / 0.7358 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.5919, allocations: 7.261 MB / 0.7429 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5933, allocations: 215.1 kB / 0.7431 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.5934, allocations: 32 kB / 0.7432 GB, free: 308 kB / 474.7 MB 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.0002533/0.5937, allocations: 148.8 kB / 0.7433 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5939, allocations: 122.5 kB / 0.7434 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.6069, allocations: 4.214 MB / 0.7475 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.607, allocations: 12 kB / 0.7475 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.607, allocations: 3.938 kB / 0.7475 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.607, allocations: 7.969 kB / 0.7476 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.6217, allocations: 5.82 MB / 0.7532 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6217, allocations: 0 / 0.7532 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.6225, allocations: 147.8 kB / 0.7534 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00552/0.628, allocations: 1.687 MB / 0.755 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.6282, allocations: 16 kB / 0.755 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6416, allocations: 6.317 MB / 0.7612 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6416, allocations: 3.953 kB / 0.7612 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.6556, allocations: 4.959 MB / 0.7661 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.656, allocations: 199.4 kB / 0.7662 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6562, allocations: 20 kB / 0.7663 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.6574, allocations: 155.9 kB / 0.7664 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/0.6581, allocations: 216.5 kB / 0.7666 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.6582, allocations: 27.98 kB / 0.7666 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007929/0.659, allocations: 0.5744 MB / 0.7672 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.659, allocations: 0 / 0.7672 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001176/0.6602, allocations: 435.4 kB / 0.7676 GB, free: 6.883 MB / 0.4948 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.0002779/0.6604, allocations: 143.1 kB / 0.7678 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005281/0.6657, allocations: 2.02 MB / 0.7697 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6658, allocations: 8.188 kB / 0.7697 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004307/0.6701, allocations: 1.501 MB / 0.7712 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.6707, allocations: 80.31 kB / 0.7713 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.6738, allocations: 1.517 MB / 0.7728 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.6744, allocations: 1.126 MB / 0.7739 GB, free: 416 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000364/0.6748, allocations: 65.58 kB / 0.7739 GB, free: 348 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.675, allocations: 55.42 kB / 0.774 GB, free: 292 kB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.6751, allocations: 0 / 0.774 GB, free: 292 kB / 0.4948 GB Notification: Performance of Templates: time 0.03061/0.7057, allocations: 19.52 MB / 0.793 GB, free: 12.77 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)