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/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/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/package.mo): time 0.0834/0.0834, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001114/0.001114, allocations: 119.4 kB / 30.94 MB, free: 4.66 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.566/1.566, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001368/0.001368, allocations: 184.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5095/0.5095, allocations: 78.5 MB / 418.1 MB, free: 31.78 MB / 318.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.002389/0.00239, allocations: 132.6 kB / 498.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4458, allocations: 68.03 MB / 0.5533 GB, free: 37.89 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006166/0.452, allocations: 6.183 MB / 0.5593 GB, free: 33.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.4558, allocations: 1.756 MB / 0.561 GB, free: 32.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.4563, allocations: 14.88 kB / 0.561 GB, free: 32.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.4568, allocations: 159.6 kB / 0.5612 GB, free: 32.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4582, allocations: 0.603 MB / 0.5618 GB, free: 31.64 MB / 414.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.001043/0.4593, allocations: 0.5315 MB / 0.5623 GB, free: 31.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4603, allocations: 1.24 MB / 0.5635 GB, free: 30.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.4607, allocations: 271.8 kB / 0.5638 GB, free: 30.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.4612, allocations: 0.5316 MB / 0.5643 GB, free: 30.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.4618, allocations: 0.6445 MB / 0.5649 GB, free: 30.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.462, allocations: 87.25 kB / 0.565 GB, free: 30.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.4623, allocations: 225.2 kB / 0.5652 GB, free: 29.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.4625, allocations: 242.8 kB / 0.5654 GB, free: 29.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.4629, allocations: 0.5482 MB / 0.566 GB, free: 29.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.4639, allocations: 1.341 MB / 0.5673 GB, free: 28.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4639, allocations: 0 / 0.5673 GB, free: 28.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4639, allocations: 0 / 0.5673 GB, free: 28.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.464, allocations: 3.938 kB / 0.5673 GB, free: 28.82 MB / 414.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.006854/0.4708, allocations: 2.347 MB / 0.5696 GB, free: 27.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4709, allocations: 15.14 kB / 0.5696 GB, free: 27.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.471, allocations: 117.8 kB / 0.5697 GB, free: 27.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.4756, allocations: 0.7599 MB / 0.5704 GB, free: 27.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.4766, allocations: 0.706 MB / 0.5711 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.4769, allocations: 249.3 kB / 0.5714 GB, free: 26.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.477, allocations: 68.62 kB / 0.5714 GB, free: 26.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4788, allocations: 0.9618 MB / 0.5724 GB, free: 26.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.4789, allocations: 4 kB / 0.5724 GB, free: 26.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.479, allocations: 29.28 kB / 0.5724 GB, free: 26.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.479, allocations: 15.56 kB / 0.5724 GB, free: 26.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.4808, allocations: 0.9756 MB / 0.5734 GB, free: 26.06 MB / 414.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.005045/0.4859, allocations: 3.186 MB / 0.5765 GB, free: 24.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.4881, allocations: 1.313 MB / 0.5778 GB, free: 23.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.4896, allocations: 0.701 MB / 0.5785 GB, free: 23.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.4898, allocations: 15.62 kB / 0.5785 GB, free: 23.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.4898, allocations: 38.97 kB / 0.5785 GB, free: 22.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.026e-06/0.4898, allocations: 1.219 kB / 0.5785 GB, free: 22.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.02695/0.5168, allocations: 6.477 MB / 0.5848 GB, free: 21.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.5169, allocations: 64.97 kB / 0.5849 GB, free: 21.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5181, allocations: 0.7974 MB / 0.5857 GB, free: 21.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5183, allocations: 40.98 kB / 0.5857 GB, free: 21.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.5186, allocations: 434.1 kB / 0.5861 GB, free: 20.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.5189, allocations: 301.4 kB / 0.5864 GB, free: 20.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.5193, allocations: 187.1 kB / 0.5866 GB, free: 20.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5194, allocations: 343.4 kB / 0.5869 GB, free: 19.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.521, allocations: 0.6604 MB / 0.5876 GB, free: 19.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.5228, allocations: 0.788 MB / 0.5883 GB, free: 19.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/0.541, allocations: 4.538 MB / 0.5928 GB, free: 16.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.5411, allocations: 1.125 kB / 0.5928 GB, free: 16.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01283/0.5539, allocations: 4.071 MB / 0.5967 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.554, allocations: 8 kB / 0.5968 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.554, allocations: 4 kB / 0.5968 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.5595, allocations: 1.743 MB / 0.5985 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.5605, allocations: 191.8 kB / 0.5986 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.5803, allocations: 9.062 MB / 0.6075 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5821, allocations: 155 kB / 0.6076 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.5823, allocations: 39.98 kB / 0.6077 GB, free: 2.523 MB / 414.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.0007522/0.5831, allocations: 224.2 kB / 0.6079 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.5835, allocations: 98.78 kB / 0.608 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.5953, allocations: 3.817 MB / 0.6117 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.5954, allocations: 8 kB / 0.6117 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5954, allocations: 3.938 kB / 0.6117 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.5954, allocations: 11.92 kB / 0.6117 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.6106, allocations: 5.38 MB / 0.617 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.6106, allocations: 0 / 0.617 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.6113, allocations: 95.89 kB / 0.6171 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/0.6171, allocations: 1.749 MB / 0.6188 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.6173, allocations: 19.98 kB / 0.6188 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.6364, allocations: 8.058 MB / 0.6267 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6364, allocations: 0 / 0.6267 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.6508, allocations: 4.739 MB / 0.6313 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.6513, allocations: 183.8 kB / 0.6315 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.6516, allocations: 16 kB / 0.6315 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6528, allocations: 95.88 kB / 0.6316 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/0.6535, allocations: 200.7 kB / 0.6318 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.6536, allocations: 23.94 kB / 0.6318 GB, free: 9.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009843/0.6546, allocations: 0.5341 MB / 0.6323 GB, free: 8.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6546, allocations: 4 kB / 0.6323 GB, free: 8.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001671/0.6563, allocations: 407.5 kB / 0.6327 GB, free: 8.523 MB / 446.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.01501/0.6713, allocations: 5.312 MB / 0.6379 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007286/0.6786, allocations: 2.332 MB / 0.6402 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6786, allocations: 0 / 0.6402 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004803/0.6835, allocations: 1.523 MB / 0.6417 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.6847, allocations: 75.34 kB / 0.6417 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03919/0.7239, allocations: 14.93 MB / 0.6563 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7251, allocations: 1.037 MB / 0.6573 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.7256, allocations: 74.31 kB / 0.6574 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/0.7263, allocations: 375.3 kB / 0.6578 GB, free: 14.45 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.7264, allocations: 0 / 0.6578 GB, free: 14.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/0.7937, allocations: 29.51 MB / 0.6866 GB, free: 1.004 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.7941, allocations: 221.5 kB / 0.6868 GB, free: 0.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.588, allocations: 0 / 0.6868 GB, free: 0.75 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)