Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 238.9 MB, free: 5.676 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.001056/0.001056, allocations: 189 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4421/0.4421, allocations: 78.52 MB / 419.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 499.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 69.36 MB / 0.5558 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.2081/0.3248, allocations: 5.567 MB / 0.5612 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.3279, allocations: 1.915 MB / 0.5631 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.3285, allocations: 11.69 kB / 0.5631 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.329, allocations: 173.8 kB / 0.5632 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3304, allocations: 0.6616 MB / 0.5639 GB, free: 37 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.001109/0.3315, allocations: 0.5403 MB / 0.5644 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.3326, allocations: 0.9382 MB / 0.5653 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.333, allocations: 254.2 kB / 0.5656 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.3335, allocations: 0.5158 MB / 0.5661 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.3341, allocations: 0.614 MB / 0.5667 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3342, allocations: 49.62 kB / 0.5667 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.3345, allocations: 166.8 kB / 0.5669 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3347, allocations: 220.6 kB / 0.5671 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3349, allocations: 216.6 kB / 0.5673 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.3358, allocations: 1.089 MB / 0.5684 GB, free: 36.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.3358, allocations: 0 / 0.5684 GB, free: 36.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3358, allocations: 0 / 0.5684 GB, free: 36.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.3358, allocations: 0.625 kB / 0.5684 GB, free: 36.27 MB / 430.1 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.007314/0.3431, allocations: 2.373 MB / 0.5707 GB, free: 35.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3432, allocations: 8.312 kB / 0.5707 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.3434, allocations: 132.9 kB / 0.5708 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.3482, allocations: 0.783 MB / 0.5716 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3496, allocations: 0.7733 MB / 0.5723 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.3498, allocations: 268.5 kB / 0.5726 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3499, allocations: 72.28 kB / 0.5727 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.3521, allocations: 1.193 MB / 0.5738 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3522, allocations: 0 / 0.5738 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.3523, allocations: 40.73 kB / 0.5739 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3523, allocations: 17.38 kB / 0.5739 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.3544, allocations: 1.159 MB / 0.575 GB, free: 34.2 MB / 430.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.005225/0.3596, allocations: 3.628 MB / 0.5786 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.3616, allocations: 1.53 MB / 0.5801 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.215e-05/0.3617, allocations: 17.64 kB / 0.5801 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3617, allocations: 47 kB / 0.5801 GB, free: 31.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.715e-06/0.3618, allocations: 5.156 kB / 0.5801 GB, free: 31.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02579/0.3875, allocations: 8 MB / 0.5879 GB, free: 29.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3876, allocations: 91.17 kB / 0.588 GB, free: 29.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.389, allocations: 0.9288 MB / 0.5889 GB, free: 29.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.3892, allocations: 48.5 kB / 0.589 GB, free: 29.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.3895, allocations: 486.3 kB / 0.5894 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.3899, allocations: 323.5 kB / 0.5897 GB, free: 28.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.39, allocations: 24.84 kB / 0.5898 GB, free: 28.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.39, allocations: 344.7 kB / 0.5901 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.3917, allocations: 0.7785 MB / 0.5909 GB, free: 27.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.3935, allocations: 0.8993 MB / 0.5917 GB, free: 27.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.3953, allocations: 0.8384 MB / 0.5926 GB, free: 27.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3953, allocations: 1.281 kB / 0.5926 GB, free: 27.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01532/0.4106, allocations: 5.13 MB / 0.5976 GB, free: 26.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.4108, allocations: 0.7904 MB / 0.5983 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4108, allocations: 2.906 kB / 0.5983 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006844/0.4177, allocations: 2.1 MB / 0.6004 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4187, allocations: 205 kB / 0.6006 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.4409, allocations: 9.971 MB / 0.6103 GB, free: 20.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4426, allocations: 220.1 kB / 0.6105 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.4428, allocations: 42.11 kB / 0.6106 GB, free: 20.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4428, allocations: 3.938 kB / 0.6106 GB, free: 20.49 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01394/0.4568, allocations: 4.974 MB / 0.6154 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4568, allocations: 4 kB / 0.6154 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/0.4627, allocations: 2.096 MB / 0.6175 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.4637, allocations: 195.7 kB / 0.6177 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.4831, allocations: 9.958 MB / 0.6274 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.4846, allocations: 203 kB / 0.6276 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.4848, allocations: 37.84 kB / 0.6276 GB, free: 4.105 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (109): * Single equations (assignments): 108 * 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.0005762/0.4854, allocations: 321.7 kB / 0.6279 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.4856, allocations: 118.5 kB / 0.6281 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.4988, allocations: 4.85 MB / 0.6328 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4988, allocations: 12.7 kB / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4988, allocations: 4 kB / 0.6328 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.4989, allocations: 3.984 kB / 0.6328 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.5151, allocations: 6.467 MB / 0.6391 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5151, allocations: 0.5625 kB / 0.6391 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.5158, allocations: 118.4 kB / 0.6392 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/0.5221, allocations: 2.052 MB / 0.6412 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5222, allocations: 16.94 kB / 0.6413 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01929/0.5415, allocations: 8.645 MB / 0.6497 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5416, allocations: 0 / 0.6497 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.5578, allocations: 5.849 MB / 0.6554 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.5583, allocations: 203.5 kB / 0.6556 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.5586, allocations: 23.95 kB / 0.6556 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5599, allocations: 149 kB / 0.6558 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/0.5605, allocations: 209.2 kB / 0.656 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/0.5606, allocations: 20 kB / 0.656 GB, free: 6.723 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009829/0.5616, allocations: 0.6274 MB / 0.6566 GB, free: 6.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5616, allocations: 0 / 0.6566 GB, free: 6.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002183/0.5638, allocations: 0.7022 MB / 0.6573 GB, free: 5.383 MB / 462.1 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 (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.01632/0.5802, allocations: 6.434 MB / 0.6636 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.5922, allocations: 4.617 MB / 0.6681 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5922, allocations: 3.938 kB / 0.6681 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004859/0.5971, allocations: 1.749 MB / 0.6698 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.5979, allocations: 85.56 kB / 0.6699 GB, free: 8.445 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.6034, allocations: 4.211 MB / 0.674 GB, free: 4.176 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.604, allocations: 1.129 MB / 0.6751 GB, free: 3.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.6045, allocations: 115.6 kB / 0.6752 GB, free: 2.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.6051, allocations: 428.9 kB / 0.6756 GB, free: 2.484 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6051, allocations: 0 / 0.6756 GB, free: 2.484 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0538/0.6589, allocations: 36.26 MB / 0.711 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.6591, allocations: 194.2 kB / 0.7112 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.383, allocations: 4 kB / 0.7112 GB, free: 14.32 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: