Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00602/0.006019, allocations: 169.2 kB / 15.12 MB, free: 5.555 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.344/1.344, allocations: 223.2 MB / 239 MB, free: 1.773 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.0009082/0.0009085, allocations: 103.2 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4461/0.4461, allocations: 78.59 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 499.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4194, allocations: 69.35 MB / 0.5558 GB, free: 38.97 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005306/0.4248, allocations: 5.056 MB / 0.5607 GB, free: 38.37 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.4287, allocations: 1.72 MB / 0.5624 GB, free: 37.15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.4294, allocations: 15.09 kB / 0.5624 GB, free: 37.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.4298, allocations: 140.3 kB / 0.5625 GB, free: 37.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.4314, allocations: 0.6348 MB / 0.5631 GB, free: 36.65 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001254/0.4327, allocations: 492.1 kB / 0.5636 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.4339, allocations: 0.8185 MB / 0.5644 GB, free: 35.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.4343, allocations: 216.1 kB / 0.5646 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.4349, allocations: 465.4 kB / 0.5651 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.4356, allocations: 0.5517 MB / 0.5656 GB, free: 35.4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4357, allocations: 51.31 kB / 0.5657 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.4362, allocations: 160 kB / 0.5658 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.4364, allocations: 192.6 kB / 0.566 GB, free: 35.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.4366, allocations: 203.8 kB / 0.5662 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.4375, allocations: 0.9537 MB / 0.5671 GB, free: 34.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4375, allocations: 0 / 0.5671 GB, free: 34.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4376, allocations: 0 / 0.5671 GB, free: 34.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4376, allocations: 1.062 kB / 0.5671 GB, free: 34.81 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006859/0.4444, allocations: 2.199 MB / 0.5693 GB, free: 33.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4445, allocations: 8.531 kB / 0.5693 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.4491, allocations: 0.7749 MB / 0.57 GB, free: 33.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4501, allocations: 0.6659 MB / 0.5707 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.4503, allocations: 264 kB / 0.5709 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4505, allocations: 63.66 kB / 0.571 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.4523, allocations: 1.03 MB / 0.572 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4524, allocations: 0 / 0.572 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.4525, allocations: 25.72 kB / 0.572 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.4525, allocations: 17.77 kB / 0.572 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.4544, allocations: 1.062 MB / 0.5731 GB, free: 32.3 MB / 426.7 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.004865/0.4593, allocations: 3.336 MB / 0.5763 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.4611, allocations: 1.386 MB / 0.5777 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.4612, allocations: 17.22 kB / 0.5777 GB, free: 29.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4613, allocations: 42.44 kB / 0.5777 GB, free: 29.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 3.447e-06/0.4613, allocations: 4 kB / 0.5777 GB, free: 29.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02541/0.4867, allocations: 8.011 MB / 0.5856 GB, free: 27.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4868, allocations: 59.41 kB / 0.5856 GB, free: 27.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.4879, allocations: 0.7915 MB / 0.5864 GB, free: 27.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.488, allocations: 40.64 kB / 0.5864 GB, free: 27.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.4883, allocations: 426.1 kB / 0.5868 GB, free: 27.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.4885, allocations: 305 kB / 0.5871 GB, free: 26.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.4886, allocations: 21.75 kB / 0.5872 GB, free: 26.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.4887, allocations: 344.7 kB / 0.5875 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4901, allocations: 0.7319 MB / 0.5882 GB, free: 26.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.4916, allocations: 0.85 MB / 0.589 GB, free: 26.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.4932, allocations: 0.7821 MB / 0.5898 GB, free: 25.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4932, allocations: 0.5625 kB / 0.5898 GB, free: 25.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01499/0.5082, allocations: 5.034 MB / 0.5947 GB, free: 24.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.5083, allocations: 6.312 kB / 0.5947 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.5083, allocations: 1.75 kB / 0.5947 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.5151, allocations: 2.087 MB / 0.5968 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.5161, allocations: 180.9 kB / 0.5969 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/0.5391, allocations: 9.988 MB / 0.6067 GB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5407, allocations: 192.6 kB / 0.6069 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5408, allocations: 39.95 kB / 0.6069 GB, free: 19.84 MB / 426.7 MB 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 (99): * Single equations (assignments): 98 * 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.000468/0.5413, allocations: 228.1 kB / 0.6071 GB, free: 19.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5415, allocations: 103.1 kB / 0.6072 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.5568, allocations: 4.724 MB / 0.6118 GB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.5569, allocations: 8.562 kB / 0.6118 GB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5569, allocations: 0 / 0.6118 GB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.557, allocations: 4.266 kB / 0.6118 GB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.5718, allocations: 6.287 MB / 0.618 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5718, allocations: 0 / 0.618 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.5724, allocations: 99.83 kB / 0.6181 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005998/0.5784, allocations: 2.05 MB / 0.6201 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.5786, allocations: 20 kB / 0.6201 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.5967, allocations: 8.639 MB / 0.6285 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5968, allocations: 7.938 kB / 0.6285 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.613, allocations: 5.712 MB / 0.6341 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.6135, allocations: 195.6 kB / 0.6343 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6136, allocations: 19.95 kB / 0.6343 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/0.6146, allocations: 127.9 kB / 0.6345 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/0.6152, allocations: 196.6 kB / 0.6346 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.6153, allocations: 20 kB / 0.6347 GB, free: 8.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006637/0.6159, allocations: 0.5224 MB / 0.6352 GB, free: 8.246 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6159, allocations: 0 / 0.6352 GB, free: 8.246 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001265/0.6172, allocations: 411.5 kB / 0.6356 GB, free: 7.844 MB / 442.7 MB 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 (50): * Single equations (assignments): 49 * 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.0002527/0.6175, allocations: 127.2 kB / 0.6357 GB, free: 7.711 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00675/0.6242, allocations: 2.582 MB / 0.6382 GB, free: 5.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6243, allocations: 0 / 0.6382 GB, free: 5.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004862/0.6291, allocations: 1.693 MB / 0.6399 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.6298, allocations: 67.33 kB / 0.6399 GB, free: 3.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.6329, allocations: 2.138 MB / 0.642 GB, free: 1.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.6334, allocations: 1.057 MB / 0.643 GB, free: 112 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.6337, allocations: 82.25 kB / 0.6431 GB, free: 28 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.6339, allocations: 51.42 kB / 0.6432 GB, free: 15.98 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6339, allocations: 0 / 0.6432 GB, free: 15.98 MB / 458.7 MB Notification: Performance of Templates: time 0.029/0.6629, allocations: 19.05 MB / 0.6618 GB, free: 12.95 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)