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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001314/0.001314, allocations: 195.3 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4593/0.4593, allocations: 78.52 MB / 418.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 76.09 kB / 0.5536 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3341, allocations: 68.15 MB / 0.6202 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004888/0.3391, allocations: 6.491 MB / 0.6265 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3418, allocations: 1.868 MB / 0.6284 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.3422, allocations: 8 kB / 0.6284 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.3426, allocations: 221.9 kB / 0.6286 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.3439, allocations: 0.7252 MB / 0.6293 GB, free: 0.9023 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3449, allocations: 0.6126 MB / 0.6299 GB, free: 304 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.3461, allocations: 1.425 MB / 0.6313 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.3466, allocations: 328.3 kB / 0.6316 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.3472, allocations: 0.5874 MB / 0.6322 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.348, allocations: 0.731 MB / 0.6329 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.3482, allocations: 103.9 kB / 0.633 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.3488, allocations: 247.8 kB / 0.6332 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.349, allocations: 278.8 kB / 0.6335 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.3495, allocations: 0.6252 MB / 0.6341 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3511, allocations: 1.53 MB / 0.6356 GB, free: 10.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3511, allocations: 0 / 0.6356 GB, free: 10.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3511, allocations: 0 / 0.6356 GB, free: 10.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3511, allocations: 4 kB / 0.6356 GB, free: 10.43 MB / 446.1 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.007706/0.3589, allocations: 2.598 MB / 0.6381 GB, free: 7.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3589, allocations: 12.03 kB / 0.6381 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/0.3639, allocations: 0.7834 MB / 0.6389 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3652, allocations: 0.7812 MB / 0.6397 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.3655, allocations: 260.2 kB / 0.6399 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3656, allocations: 83.95 kB / 0.64 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.3679, allocations: 1.077 MB / 0.641 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.368, allocations: 7.875 kB / 0.641 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3681, allocations: 43.98 kB / 0.6411 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.3681, allocations: 16 kB / 0.6411 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.3706, allocations: 1.12 MB / 0.6422 GB, free: 3.496 MB / 446.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.005717/0.3764, allocations: 3.445 MB / 0.6456 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.3786, allocations: 1.434 MB / 0.647 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.3802, allocations: 0.7813 MB / 0.6477 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3804, allocations: 16.98 kB / 0.6477 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3804, allocations: 47.56 kB / 0.6478 GB, free: 13.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.3804, allocations: 0 / 0.6478 GB, free: 13.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02597/0.4064, allocations: 6.61 MB / 0.6542 GB, free: 6.848 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.4065, allocations: 68.41 kB / 0.6543 GB, free: 6.766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4079, allocations: 0.8922 MB / 0.6552 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.4082, allocations: 45.7 kB / 0.6552 GB, free: 5.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.4086, allocations: 0.4897 MB / 0.6557 GB, free: 5.309 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/0.4091, allocations: 372.8 kB / 0.6561 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004984/0.4096, allocations: 202.9 kB / 0.6562 GB, free: 4.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4097, allocations: 349.9 kB / 0.6566 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.4114, allocations: 0.7326 MB / 0.6573 GB, free: 3.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.4133, allocations: 0.8618 MB / 0.6581 GB, free: 2.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01907/0.4324, allocations: 4.854 MB / 0.6629 GB, free: 13.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.4324, allocations: 7.938 kB / 0.6629 GB, free: 13.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01416/0.4466, allocations: 4.281 MB / 0.6671 GB, free: 9.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4466, allocations: 10.5 kB / 0.6671 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4467, allocations: 4 kB / 0.6671 GB, free: 9.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006212/0.4529, allocations: 1.722 MB / 0.6688 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4541, allocations: 231.6 kB / 0.669 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.4756, allocations: 9.065 MB / 0.6778 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4771, allocations: 171.3 kB / 0.678 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.4774, allocations: 43.98 kB / 0.678 GB, free: 14.18 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005969/0.478, allocations: 245.5 kB / 0.6783 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.4783, allocations: 127.1 kB / 0.6784 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.4916, allocations: 4.014 MB / 0.6823 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4916, allocations: 8 kB / 0.6823 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4916, allocations: 0 / 0.6823 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.4916, allocations: 3.984 kB / 0.6823 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.5072, allocations: 5.614 MB / 0.6878 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.5073, allocations: 0 / 0.6878 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.5081, allocations: 127.8 kB / 0.6879 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006011/0.5141, allocations: 1.741 MB / 0.6896 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.5143, allocations: 16 kB / 0.6896 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.533, allocations: 8.066 MB / 0.6975 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.533, allocations: 0 / 0.6975 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.5485, allocations: 4.968 MB / 0.7024 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.5491, allocations: 216.1 kB / 0.7026 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.5495, allocations: 16 kB / 0.7026 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5508, allocations: 107.9 kB / 0.7027 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008509/0.5516, allocations: 224.6 kB / 0.7029 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.5518, allocations: 23.98 kB / 0.7029 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00105/0.5528, allocations: 0.593 MB / 0.7035 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5529, allocations: 0 / 0.7035 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001871/0.5547, allocations: 439.6 kB / 0.7039 GB, free: 3.297 MB / 0.4981 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 (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.0003946/0.5551, allocations: 131 kB / 0.7041 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00712/0.5623, allocations: 2.49 MB / 0.7065 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5623, allocations: 0 / 0.7065 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/0.5673, allocations: 1.622 MB / 0.7081 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.5683, allocations: 88.36 kB / 0.7082 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.5724, allocations: 2.08 MB / 0.7102 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.5732, allocations: 1.103 MB / 0.7113 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004482/0.5736, allocations: 90.75 kB / 0.7114 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.5739, allocations: 71.42 kB / 0.7114 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.5739, allocations: 0 / 0.7114 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.0383/0.6122, allocations: 23.64 MB / 0.7345 GB, free: 3.867 MB / 0.5294 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)