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.006525/0.006524, allocations: 163.4 kB / 15.13 MB, free: 5.594 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.468/1.468, allocations: 223.3 MB / 239.1 MB, free: 1.695 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.0008035/0.0008034, allocations: 98.25 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4735/0.4735, allocations: 78.62 MB / 420 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 500 MB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4219, allocations: 69.34 MB / 0.556 GB, free: 38.54 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.00597/0.4279, allocations: 5.867 MB / 0.5617 GB, free: 37.58 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.4323, allocations: 1.889 MB / 0.5636 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.4336, allocations: 11.75 kB / 0.5636 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.4344, allocations: 170 kB / 0.5637 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.4364, allocations: 0.5982 MB / 0.5643 GB, free: 35.77 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.001583/0.4379, allocations: 0.5523 MB / 0.5649 GB, free: 35.49 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.4398, allocations: 1.31 MB / 0.5661 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.4403, allocations: 257.4 kB / 0.5664 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.4412, allocations: 0.5203 MB / 0.5669 GB, free: 34.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.4419, allocations: 0.6304 MB / 0.5675 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.4421, allocations: 52.06 kB / 0.5676 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.4426, allocations: 174.2 kB / 0.5677 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.4428, allocations: 222.9 kB / 0.5679 GB, free: 34.04 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.443, allocations: 220.7 kB / 0.5681 GB, free: 33.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009133/0.4439, allocations: 1.131 MB / 0.5692 GB, free: 33.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4439, allocations: 4 kB / 0.5693 GB, free: 33.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4439, allocations: 0 / 0.5693 GB, free: 33.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.444, allocations: 0 / 0.5693 GB, free: 33.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.007297/0.4513, allocations: 2.371 MB / 0.5716 GB, free: 32.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4513, allocations: 9 kB / 0.5716 GB, free: 32.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.4515, allocations: 128.9 kB / 0.5717 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004798/0.4563, allocations: 0.7884 MB / 0.5725 GB, free: 32.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4577, allocations: 0.7685 MB / 0.5732 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.458, allocations: 267.2 kB / 0.5735 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.4581, allocations: 74.84 kB / 0.5735 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.4605, allocations: 1.202 MB / 0.5747 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4605, allocations: 3.953 kB / 0.5747 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.4606, allocations: 29.56 kB / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4606, allocations: 18.16 kB / 0.5748 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.463, allocations: 1.16 MB / 0.5759 GB, free: 30.7 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.005904/0.4689, allocations: 3.525 MB / 0.5793 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.471, allocations: 1.526 MB / 0.5808 GB, free: 27.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.4725, allocations: 0.8252 MB / 0.5816 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.601e-05/0.4726, allocations: 15.48 kB / 0.5817 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4726, allocations: 46.44 kB / 0.5817 GB, free: 27.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.396e-06/0.4727, allocations: 0 / 0.5817 GB, free: 27.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02663/0.4993, allocations: 8.056 MB / 0.5896 GB, free: 25.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.4994, allocations: 86.98 kB / 0.5896 GB, free: 25.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.5011, allocations: 0.9245 MB / 0.5906 GB, free: 25.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.5014, allocations: 41.92 kB / 0.5906 GB, free: 25.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.5017, allocations: 491.2 kB / 0.5911 GB, free: 25.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.5022, allocations: 326.7 kB / 0.5914 GB, free: 24.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.5023, allocations: 21.03 kB / 0.5914 GB, free: 24.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.5024, allocations: 352.1 kB / 0.5917 GB, free: 24.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.5041, allocations: 0.7759 MB / 0.5925 GB, free: 24.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.5058, allocations: 0.9049 MB / 0.5934 GB, free: 23.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.5075, allocations: 0.834 MB / 0.5942 GB, free: 23.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5075, allocations: 3.953 kB / 0.5942 GB, free: 23.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01569/0.5232, allocations: 5.121 MB / 0.5992 GB, free: 22.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.5233, allocations: 160 kB / 0.5993 GB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5234, allocations: 1.344 kB / 0.5993 GB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/0.5305, allocations: 2.103 MB / 0.6014 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5316, allocations: 210.3 kB / 0.6016 GB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.5542, allocations: 9.512 MB / 0.6109 GB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.5563, allocations: 221.7 kB / 0.6111 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.5564, allocations: 35.38 kB / 0.6111 GB, free: 16.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5564, allocations: 9.719 kB / 0.6111 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/0.5706, allocations: 4.974 MB / 0.616 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.5707, allocations: 4 kB / 0.616 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.5771, allocations: 2.104 MB / 0.6181 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5782, allocations: 195.7 kB / 0.6182 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/0.5981, allocations: 9.502 MB / 0.6275 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.5998, allocations: 203.1 kB / 0.6277 GB, free: 92 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.6001, allocations: 39.98 kB / 0.6278 GB, free: 52 kB / 426.7 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.0007664/0.6009, allocations: 320.9 kB / 0.6281 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.6012, allocations: 118.5 kB / 0.6282 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/0.6161, allocations: 4.856 MB / 0.6329 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6162, allocations: 12 kB / 0.6329 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6162, allocations: 3.953 kB / 0.6329 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/0.6162, allocations: 3.984 kB / 0.6329 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.634, allocations: 6.461 MB / 0.6392 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.6341, allocations: 4 kB / 0.6392 GB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.6348, allocations: 111.9 kB / 0.6394 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006595/0.6414, allocations: 2.05 MB / 0.6414 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/0.6417, allocations: 23.94 kB / 0.6414 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/0.6611, allocations: 8.195 MB / 0.6494 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6611, allocations: 4 kB / 0.6494 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/0.6781, allocations: 5.853 MB / 0.6551 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.6786, allocations: 207.4 kB / 0.6553 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.6791, allocations: 16 kB / 0.6553 GB, free: 3.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.6805, allocations: 151.9 kB / 0.6555 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007167/0.6812, allocations: 204.6 kB / 0.6557 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.6814, allocations: 27.98 kB / 0.6557 GB, free: 3.098 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.6825, allocations: 0.6313 MB / 0.6563 GB, free: 2.457 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6825, allocations: 0 / 0.6563 GB, free: 2.457 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002709/0.6853, allocations: 0.6983 MB / 0.657 GB, free: 1.758 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 (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.01712/0.7024, allocations: 6.436 MB / 0.6633 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01318/0.7156, allocations: 4.615 MB / 0.6678 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7157, allocations: 0 / 0.6678 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005524/0.7212, allocations: 1.752 MB / 0.6695 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7229, allocations: 98.5 kB / 0.6696 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/0.7528, allocations: 11.62 MB / 0.6809 GB, free: 8.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.7536, allocations: 1.113 MB / 0.682 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007062/0.7544, allocations: 114.9 kB / 0.6821 GB, free: 7.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/0.7551, allocations: 431.2 kB / 0.6825 GB, free: 7.168 MB / 490.7 MB Notification: Performance of SimCode: time 3.116e-06/0.7552, allocations: 0 / 0.6825 GB, free: 7.168 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.8219, allocations: 36.88 MB / 0.7185 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.8222, allocations: 204.6 kB / 0.7187 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.08, allocations: 4.062 kB / 0.7187 GB, free: 2.234 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)