Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08151/0.08151, allocations: 12.58 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 111.4 kB / 31.84 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 192.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4072/0.4072, allocations: 78.51 MB / 419.3 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003575/0.003575, allocations: 141 kB / 0.5554 GB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1104, allocations: 68.13 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006416/0.1168, allocations: 5.848 MB / 0.6276 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.12, allocations: 1.709 MB / 0.6293 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.1204, allocations: 15.94 kB / 0.6293 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.1209, allocations: 202.2 kB / 0.6295 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1224, allocations: 0.6871 MB / 0.6302 GB, free: 5.16 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001105/0.1235, allocations: 0.5624 MB / 0.6307 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1248, allocations: 1.253 MB / 0.632 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1251, allocations: 267.2 kB / 0.6322 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.1257, allocations: 0.5251 MB / 0.6327 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.1264, allocations: 0.6494 MB / 0.6334 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1266, allocations: 88 kB / 0.6334 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.127, allocations: 223.9 kB / 0.6337 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1272, allocations: 242.9 kB / 0.6339 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.1276, allocations: 0.5436 MB / 0.6344 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.129, allocations: 1.362 MB / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.129, allocations: 0 / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.129, allocations: 4 kB / 0.6357 GB, free: 15.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1291, allocations: 0 / 0.6357 GB, free: 15.43 MB / 462.1 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.007103/0.1362, allocations: 2.379 MB / 0.6381 GB, free: 13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1362, allocations: 11.98 kB / 0.6381 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.1364, allocations: 122.4 kB / 0.6382 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.1411, allocations: 0.7563 MB / 0.6389 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1421, allocations: 0.7251 MB / 0.6396 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.1424, allocations: 248.1 kB / 0.6399 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1425, allocations: 68 kB / 0.6399 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.1445, allocations: 0.9637 MB / 0.6409 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1445, allocations: 4 kB / 0.6409 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.1446, allocations: 31.98 kB / 0.6409 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.1446, allocations: 20 kB / 0.6409 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.1467, allocations: 0.9721 MB / 0.6419 GB, free: 8.984 MB / 462.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.005177/0.1519, allocations: 3.174 MB / 0.645 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.1541, allocations: 1.306 MB / 0.6463 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.1555, allocations: 0.7048 MB / 0.647 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1557, allocations: 16.98 kB / 0.647 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1557, allocations: 39.56 kB / 0.647 GB, free: 3.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.454e-06/0.1557, allocations: 0 / 0.647 GB, free: 3.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02533/0.181, allocations: 6.481 MB / 0.6533 GB, free: 12.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1811, allocations: 64.34 kB / 0.6534 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1822, allocations: 0.8023 MB / 0.6542 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.1823, allocations: 41.7 kB / 0.6542 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.1826, allocations: 429.1 kB / 0.6546 GB, free: 11.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.1829, allocations: 321.2 kB / 0.6549 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.1833, allocations: 182.9 kB / 0.6551 GB, free: 11.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1835, allocations: 349.9 kB / 0.6554 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.185, allocations: 0.6624 MB / 0.6561 GB, free: 10.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.1866, allocations: 0.7834 MB / 0.6569 GB, free: 9.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01762/0.2042, allocations: 4.512 MB / 0.6613 GB, free: 4.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.2042, allocations: 0 / 0.6613 GB, free: 4.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01352/0.2178, allocations: 4.079 MB / 0.6652 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2178, allocations: 8 kB / 0.6653 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2178, allocations: 7.875 kB / 0.6653 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006064/0.2239, allocations: 1.741 MB / 0.667 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.2248, allocations: 183.8 kB / 0.6671 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.2462, allocations: 9.054 MB / 0.676 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.2475, allocations: 155.3 kB / 0.6761 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.2476, allocations: 39.92 kB / 0.6762 GB, free: 5.273 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 (101): * Single equations (assignments): 100 * 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.0003836/0.248, allocations: 229.6 kB / 0.6764 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.2481, allocations: 107.3 kB / 0.6765 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.2612, allocations: 3.817 MB / 0.6802 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2612, allocations: 12 kB / 0.6802 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2612, allocations: 0 / 0.6802 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.2612, allocations: 3.984 kB / 0.6802 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2188/0.48, allocations: 5.374 MB / 0.6855 GB, free: 52.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4801, allocations: 0.6562 kB / 0.6855 GB, free: 52.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.4806, allocations: 90.3 kB / 0.6856 GB, free: 52.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/0.4865, allocations: 1.743 MB / 0.6873 GB, free: 52.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.4866, allocations: 16.88 kB / 0.6873 GB, free: 52.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.5048, allocations: 8.058 MB / 0.6952 GB, free: 49.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5049, allocations: 1.125 kB / 0.6952 GB, free: 49.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.5188, allocations: 4.751 MB / 0.6998 GB, free: 48.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.5191, allocations: 194.7 kB / 0.7 GB, free: 47.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.5192, allocations: 12.03 kB / 0.7 GB, free: 47.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.52, allocations: 92.98 kB / 0.7001 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005802/0.5206, allocations: 199.4 kB / 0.7003 GB, free: 47.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.5207, allocations: 23.28 kB / 0.7003 GB, free: 47.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.5213, allocations: 0.5388 MB / 0.7008 GB, free: 47.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5213, allocations: 1.125 kB / 0.7008 GB, free: 47.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009828/0.5223, allocations: 406 kB / 0.7012 GB, free: 47.54 MB / 494.1 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 (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.01352/0.5358, allocations: 5.324 MB / 0.7064 GB, free: 45.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005495/0.5413, allocations: 2.314 MB / 0.7087 GB, free: 44.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5413, allocations: 0.5625 kB / 0.7087 GB, free: 44.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.5453, allocations: 1.519 MB / 0.7101 GB, free: 44.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.5459, allocations: 79.77 kB / 0.7102 GB, free: 43.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/0.5756, allocations: 14.18 MB / 0.7241 GB, free: 31.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.5761, allocations: 1.033 MB / 0.7251 GB, free: 30.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.5764, allocations: 76.8 kB / 0.7252 GB, free: 30.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.5768, allocations: 379.3 kB / 0.7255 GB, free: 29.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5768, allocations: 0 / 0.7255 GB, free: 29.94 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.6292, allocations: 30.97 MB / 0.7558 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.11, allocations: 8.031 kB / 0.7558 GB, free: 15.03 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)