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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 182.6 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.415/1.415, allocations: 223.3 MB / 239.5 MB, free: 15.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008255/0.0008257, allocations: 94.94 kB / 290.6 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5347/0.5347, allocations: 78.62 MB / 420.4 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 15.98 kB / 0.4889 GB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 69.36 MB / 0.5566 GB, free: 1.316 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006033/0.1407, allocations: 6.236 MB / 0.5627 GB, free: 11.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.1447, allocations: 1.973 MB / 0.5646 GB, free: 9.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1458, allocations: 15.94 kB / 0.5646 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.1466, allocations: 190.8 kB / 0.5648 GB, free: 8.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.1484, allocations: 0.6334 MB / 0.5654 GB, free: 8.223 MB / 442.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.001353/0.1498, allocations: 0.6138 MB / 0.566 GB, free: 7.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1511, allocations: 1.393 MB / 0.5674 GB, free: 6.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.1515, allocations: 281.5 kB / 0.5677 GB, free: 5.938 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.1522, allocations: 0.5131 MB / 0.5682 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.1529, allocations: 0.6608 MB / 0.5688 GB, free: 4.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.153, allocations: 55.94 kB / 0.5689 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.1534, allocations: 187.9 kB / 0.569 GB, free: 4.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1536, allocations: 226.8 kB / 0.5693 GB, free: 4.297 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.1541, allocations: 0.5801 MB / 0.5698 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1554, allocations: 1.436 MB / 0.5712 GB, free: 2.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1554, allocations: 0 / 0.5712 GB, free: 2.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1554, allocations: 0 / 0.5712 GB, free: 2.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.1554, allocations: 0 / 0.5712 GB, free: 2.266 MB / 442.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.2952/0.4506, allocations: 2.365 MB / 0.5735 GB, free: 44.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.4507, allocations: 8.312 kB / 0.5735 GB, free: 44.47 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/0.4512, allocations: 124.8 kB / 0.5737 GB, free: 44.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007212/0.4584, allocations: 0.7755 MB / 0.5744 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.4602, allocations: 0.8201 MB / 0.5752 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.4606, allocations: 264 kB / 0.5755 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.4608, allocations: 78.53 kB / 0.5756 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.464, allocations: 1.21 MB / 0.5767 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.464, allocations: 0 / 0.5767 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4641, allocations: 30.59 kB / 0.5768 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.4642, allocations: 17.75 kB / 0.5768 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.4676, allocations: 1.167 MB / 0.5779 GB, free: 43.71 MB / 442.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.006729/0.4743, allocations: 3.525 MB / 0.5814 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.477, allocations: 1.53 MB / 0.5829 GB, free: 42.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.4788, allocations: 0.8203 MB / 0.5837 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.4789, allocations: 17.97 kB / 0.5837 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.479, allocations: 47.31 kB / 0.5837 GB, free: 42.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.479, allocations: 2.094 kB / 0.5837 GB, free: 42.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.02579/0.5048, allocations: 8.047 MB / 0.5916 GB, free: 41.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.5049, allocations: 96.41 kB / 0.5917 GB, free: 41.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5062, allocations: 0.9391 MB / 0.5926 GB, free: 41.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.5064, allocations: 42.36 kB / 0.5926 GB, free: 41.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.5067, allocations: 488 kB / 0.5931 GB, free: 40.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.507, allocations: 327.7 kB / 0.5934 GB, free: 40.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.5071, allocations: 102.4 kB / 0.5935 GB, free: 40.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.5072, allocations: 352.6 kB / 0.5938 GB, free: 40.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.5085, allocations: 0.7822 MB / 0.5946 GB, free: 39.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.5101, allocations: 0.9097 MB / 0.5955 GB, free: 39.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.5262, allocations: 5.231 MB / 0.6006 GB, free: 38.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.5262, allocations: 0 / 0.6006 GB, free: 38.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01248/0.5387, allocations: 5.141 MB / 0.6056 GB, free: 37.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.5388, allocations: 161.6 kB / 0.6058 GB, free: 36.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5389, allocations: 3.281 kB / 0.6058 GB, free: 36.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/0.5445, allocations: 2.023 MB / 0.6078 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5456, allocations: 216.6 kB / 0.608 GB, free: 36.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.5667, allocations: 9.318 MB / 0.6171 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5684, allocations: 213.2 kB / 0.6173 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.5686, allocations: 42.47 kB / 0.6173 GB, free: 32.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5686, allocations: 3.406 kB / 0.6173 GB, free: 32.47 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01424/0.5829, allocations: 4.985 MB / 0.6222 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.5829, allocations: 2.469 kB / 0.6222 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00678/0.5897, allocations: 2.027 MB / 0.6242 GB, free: 31.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5908, allocations: 206.8 kB / 0.6244 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.6101, allocations: 9.322 MB / 0.6335 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.6116, allocations: 200.1 kB / 0.6336 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.6118, allocations: 48.84 kB / 0.6337 GB, free: 24.57 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.0006516/0.6125, allocations: 322.4 kB / 0.634 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.6128, allocations: 118.5 kB / 0.6341 GB, free: 24.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.6246, allocations: 4.858 MB / 0.6389 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6247, allocations: 13.34 kB / 0.6389 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6247, allocations: 4 kB / 0.6389 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/0.6248, allocations: 7.984 kB / 0.6389 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.6398, allocations: 6.477 MB / 0.6452 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.6399, allocations: 0 / 0.6452 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.6405, allocations: 111.9 kB / 0.6453 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005285/0.6458, allocations: 2.058 MB / 0.6473 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.646, allocations: 16 kB / 0.6473 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.6617, allocations: 8.212 MB / 0.6554 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6618, allocations: 3.938 kB / 0.6554 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.6767, allocations: 5.86 MB / 0.6611 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.6772, allocations: 207.5 kB / 0.6613 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.6775, allocations: 16 kB / 0.6613 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6788, allocations: 147.9 kB / 0.6614 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006735/0.6795, allocations: 196.6 kB / 0.6616 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/0.6796, allocations: 24.56 kB / 0.6617 GB, free: 11.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.6806, allocations: 0.6352 MB / 0.6623 GB, free: 10.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6806, allocations: 0 / 0.6623 GB, free: 10.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002347/0.683, allocations: 0.6968 MB / 0.663 GB, free: 10.29 MB / 458.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.01511/0.6981, allocations: 6.448 MB / 0.6693 GB, free: 3.816 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01168/0.7098, allocations: 4.602 MB / 0.6737 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7098, allocations: 0 / 0.6737 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004677/0.7145, allocations: 1.752 MB / 0.6755 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.7158, allocations: 110.8 kB / 0.6756 GB, free: 13.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/0.7578, allocations: 18.26 MB / 0.6934 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.7587, allocations: 1.111 MB / 0.6945 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000657/0.7593, allocations: 124.6 kB / 0.6946 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.7599, allocations: 423.3 kB / 0.695 GB, free: 9.07 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.76, allocations: 0 / 0.695 GB, free: 9.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06289/0.8229, allocations: 36.9 MB / 0.731 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.8231, allocations: 223.3 kB / 0.7313 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.97, allocations: 4 kB / 0.7313 GB, free: 4.195 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)