Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 176.5 kB / 15.45 MB, free: 6.23 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.32/1.32, allocations: 223.3 MB / 239.5 MB, free: 1.602 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.0007985/0.0007985, allocations: 88.7 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4363/0.4363, allocations: 78.61 MB / 420.4 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 8 kB / 0.4888 GB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3199, allocations: 69.34 MB / 0.5565 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.00552/0.3255, allocations: 6.244 MB / 0.5626 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.3299, allocations: 1.975 MB / 0.5645 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009312/0.3308, allocations: 16.03 kB / 0.5645 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.3315, allocations: 179.2 kB / 0.5647 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.3332, allocations: 0.652 MB / 0.5654 GB, free: 35.02 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.001521/0.3348, allocations: 0.6043 MB / 0.5659 GB, free: 34.9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3366, allocations: 1.393 MB / 0.5673 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3371, allocations: 284 kB / 0.5676 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.3381, allocations: 0.5245 MB / 0.5681 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.3391, allocations: 0.655 MB / 0.5687 GB, free: 33.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.3393, allocations: 55.72 kB / 0.5688 GB, free: 33.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.34, allocations: 177.2 kB / 0.5689 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.3402, allocations: 233.3 kB / 0.5692 GB, free: 33.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.3408, allocations: 0.5727 MB / 0.5697 GB, free: 33.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.3422, allocations: 1.444 MB / 0.5711 GB, free: 32.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3422, allocations: 0 / 0.5711 GB, free: 32.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3422, allocations: 0 / 0.5711 GB, free: 32.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.3422, allocations: 0 / 0.5711 GB, free: 32.54 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006457/0.3487, allocations: 2.363 MB / 0.5734 GB, free: 31.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3487, allocations: 11.66 kB / 0.5735 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.3533, allocations: 0.7814 MB / 0.5742 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3545, allocations: 0.8136 MB / 0.575 GB, free: 30.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.3547, allocations: 273.1 kB / 0.5753 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3549, allocations: 73.62 kB / 0.5753 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.3568, allocations: 1.205 MB / 0.5765 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.3569, allocations: 3.938 kB / 0.5765 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.357, allocations: 29.41 kB / 0.5766 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.357, allocations: 17.12 kB / 0.5766 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.3591, allocations: 1.17 MB / 0.5777 GB, free: 29.73 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.004797/0.3639, allocations: 3.531 MB / 0.5812 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3658, allocations: 1.522 MB / 0.5826 GB, free: 26.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3671, allocations: 0.8288 MB / 0.5835 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3672, allocations: 17.14 kB / 0.5835 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3673, allocations: 38.5 kB / 0.5835 GB, free: 26.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.835e-06/0.3673, allocations: 0 / 0.5835 GB, free: 26.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02365/0.3909, allocations: 8.054 MB / 0.5914 GB, free: 25.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.391, allocations: 87.08 kB / 0.5915 GB, free: 24.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.3924, allocations: 0.9456 MB / 0.5924 GB, free: 24.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.3927, allocations: 41.86 kB / 0.5924 GB, free: 24.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.3929, allocations: 485.5 kB / 0.5929 GB, free: 24.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3932, allocations: 323 kB / 0.5932 GB, free: 23.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.3934, allocations: 103.9 kB / 0.5933 GB, free: 23.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.3934, allocations: 352.8 kB / 0.5936 GB, free: 23.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.395, allocations: 0.7804 MB / 0.5944 GB, free: 23.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.3966, allocations: 0.9095 MB / 0.5953 GB, free: 22.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/0.4143, allocations: 5.239 MB / 0.6004 GB, free: 21.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4143, allocations: 0 / 0.6004 GB, free: 21.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01413/0.4284, allocations: 5.145 MB / 0.6054 GB, free: 20.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4286, allocations: 163 kB / 0.6056 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4286, allocations: 7.453 kB / 0.6056 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.4345, allocations: 2.032 MB / 0.6076 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.4356, allocations: 212.2 kB / 0.6078 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.4535, allocations: 9.319 MB / 0.6169 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.455, allocations: 226.8 kB / 0.6171 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.4551, allocations: 35.98 kB / 0.6171 GB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.4551, allocations: 4 kB / 0.6171 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01233/0.4674, allocations: 4.98 MB / 0.622 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4675, allocations: 3.938 kB / 0.622 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/0.4727, allocations: 2.034 MB / 0.624 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.4736, allocations: 207.7 kB / 0.6242 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.4914, allocations: 9.308 MB / 0.6333 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.4929, allocations: 203.2 kB / 0.6335 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.493, allocations: 39.98 kB / 0.6335 GB, free: 10.66 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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.0005364/0.4936, allocations: 329.1 kB / 0.6338 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.4937, allocations: 118.4 kB / 0.6339 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.5063, allocations: 4.861 MB / 0.6387 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5064, allocations: 8 kB / 0.6387 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5064, allocations: 0 / 0.6387 GB, free: 5.332 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.5064, allocations: 7.984 kB / 0.6387 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.5208, allocations: 6.481 MB / 0.645 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5209, allocations: 0 / 0.645 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.5215, allocations: 111.9 kB / 0.6451 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.5271, allocations: 2.054 MB / 0.6471 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.5273, allocations: 19.98 kB / 0.6471 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.5442, allocations: 8.206 MB / 0.6552 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5442, allocations: 3.938 kB / 0.6552 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.5593, allocations: 5.861 MB / 0.6609 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.5597, allocations: 215.3 kB / 0.6611 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.56, allocations: 19.94 kB / 0.6611 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.5611, allocations: 151.9 kB / 0.6613 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/0.5617, allocations: 196.7 kB / 0.6614 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.5618, allocations: 27.98 kB / 0.6615 GB, free: 13.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000907/0.5627, allocations: 0.6352 MB / 0.6621 GB, free: 13.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5627, allocations: 4 kB / 0.6621 GB, free: 13.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00187/0.5646, allocations: 0.6944 MB / 0.6628 GB, free: 12.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.0002344/0.5648, allocations: 127.2 kB / 0.6629 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01097/0.5758, allocations: 4.601 MB / 0.6674 GB, free: 7.566 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5758, allocations: 0 / 0.6674 GB, free: 7.566 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004399/0.5802, allocations: 1.747 MB / 0.6691 GB, free: 5.801 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.5811, allocations: 103.1 kB / 0.6692 GB, free: 5.699 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.5849, allocations: 2.637 MB / 0.6718 GB, free: 3.047 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.5855, allocations: 1.109 MB / 0.6728 GB, free: 1.906 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.586, allocations: 118.9 kB / 0.673 GB, free: 1.785 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.5862, allocations: 63.42 kB / 0.673 GB, free: 1.727 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5862, allocations: 0 / 0.673 GB, free: 1.727 MB / 474.7 MB Notification: Performance of Templates: time 0.04025/0.6264, allocations: 27.65 MB / 0.7 GB, free: 6.09 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)