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.1128/0.1128, allocations: 12.2 MB / 27.18 MB, free: 1.5 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.001087/0.001087, allocations: 106.7 kB / 30.68 MB, free: 4.855 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.882/1.882, allocations: 205.4 MB / 239.5 MB, free: 13.53 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.001224/0.001224, allocations: 181.6 kB / 290.6 MB, free: 11.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5645/0.5645, allocations: 78.53 MB / 420.1 MB, free: 11.64 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.0008624/0.0008624, allocations: 24 kB / 0.4896 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4455, allocations: 69.24 MB / 0.5572 GB, free: 21.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004757/0.4503, allocations: 5.394 MB / 0.5624 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.4537, allocations: 1.647 MB / 0.5641 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.4543, allocations: 15.94 kB / 0.5641 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.4547, allocations: 143 kB / 0.5642 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.4561, allocations: 0.5747 MB / 0.5648 GB, free: 13.23 MB / 382.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.0009994/0.4571, allocations: 482.2 kB / 0.5652 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.4581, allocations: 1.136 MB / 0.5663 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.4584, allocations: 215.3 kB / 0.5665 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.4589, allocations: 461.9 kB / 0.567 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.4594, allocations: 0.5716 MB / 0.5675 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.4595, allocations: 44 kB / 0.5676 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.4598, allocations: 175.8 kB / 0.5677 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.46, allocations: 191 kB / 0.5679 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.4601, allocations: 205 kB / 0.5681 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.4609, allocations: 0.9971 MB / 0.5691 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4609, allocations: 0 / 0.5691 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4609, allocations: 0 / 0.5691 GB, free: 8.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4609, allocations: 0 / 0.5691 GB, free: 8.766 MB / 382.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.006089/0.467, allocations: 2.197 MB / 0.5712 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4671, allocations: 11.98 kB / 0.5713 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.4673, allocations: 118.5 kB / 0.5714 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.4716, allocations: 0.7634 MB / 0.5721 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4727, allocations: 0.6706 MB / 0.5728 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.473, allocations: 260.2 kB / 0.573 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4731, allocations: 72 kB / 0.5731 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.4749, allocations: 1.034 MB / 0.5741 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4749, allocations: 3.938 kB / 0.5741 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.475, allocations: 27.98 kB / 0.5741 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.475, allocations: 16 kB / 0.5741 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.4768, allocations: 1.062 MB / 0.5752 GB, free: 2.391 MB / 382.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.005054/0.4819, allocations: 3.237 MB / 0.5783 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.4843, allocations: 1.389 MB / 0.5797 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.4857, allocations: 0.7785 MB / 0.5805 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4859, allocations: 24.98 kB / 0.5805 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4859, allocations: 39.56 kB / 0.5805 GB, free: 12.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.886e-06/0.4859, allocations: 0 / 0.5805 GB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02485/0.5108, allocations: 8.028 MB / 0.5884 GB, free: 4.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.5109, allocations: 60.41 kB / 0.5884 GB, free: 4.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5125, allocations: 0.7867 MB / 0.5892 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.5127, allocations: 37.7 kB / 0.5892 GB, free: 3.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.5132, allocations: 428.5 kB / 0.5896 GB, free: 3.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.5137, allocations: 303.7 kB / 0.5899 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.5139, allocations: 23.94 kB / 0.5899 GB, free: 2.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5141, allocations: 349.9 kB / 0.5903 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.5157, allocations: 0.7288 MB / 0.591 GB, free: 1.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5174, allocations: 0.8538 MB / 0.5918 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.5192, allocations: 0.7849 MB / 0.5926 GB, free: 188 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.5192, allocations: 0 / 0.5926 GB, free: 188 kB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01383/0.533, allocations: 5.028 MB / 0.5975 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.5331, allocations: 11.94 kB / 0.5975 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5332, allocations: 4 kB / 0.5975 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.5395, allocations: 2.084 MB / 0.5995 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/0.5405, allocations: 183.7 kB / 0.5997 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.5623, allocations: 9.528 MB / 0.609 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5639, allocations: 191.1 kB / 0.6092 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.5642, allocations: 39.98 kB / 0.6092 GB, free: 14.96 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * 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.0007789/0.565, allocations: 217.7 kB / 0.6095 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.5654, allocations: 106.7 kB / 0.6096 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.5782, allocations: 4.723 MB / 0.6142 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.5783, allocations: 8 kB / 0.6142 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5783, allocations: 0 / 0.6142 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.5784, allocations: 7.984 kB / 0.6142 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.5942, allocations: 6.274 MB / 0.6203 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.5942, allocations: 4 kB / 0.6203 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.5949, allocations: 95.89 kB / 0.6204 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.601, allocations: 2.058 MB / 0.6224 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.6012, allocations: 19.98 kB / 0.6224 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/0.6198, allocations: 8.19 MB / 0.6304 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6198, allocations: 0 / 0.6304 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.6349, allocations: 5.716 MB / 0.636 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/0.6355, allocations: 199.6 kB / 0.6362 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.6359, allocations: 12 kB / 0.6362 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.637, allocations: 127.9 kB / 0.6363 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/0.6378, allocations: 208.7 kB / 0.6365 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.638, allocations: 23.94 kB / 0.6366 GB, free: 2.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009978/0.639, allocations: 0.5224 MB / 0.6371 GB, free: 2.105 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.639, allocations: 0 / 0.6371 GB, free: 2.105 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00187/0.6409, allocations: 407.5 kB / 0.6375 GB, free: 1.707 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 (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.01534/0.6562, allocations: 6.292 MB / 0.6436 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006798/0.6631, allocations: 2.582 MB / 0.6461 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6631, allocations: 8 kB / 0.6461 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004572/0.6677, allocations: 1.689 MB / 0.6478 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6689, allocations: 79.33 kB / 0.6479 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/0.6932, allocations: 10.53 MB / 0.6581 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008247/0.694, allocations: 1.029 MB / 0.6591 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004509/0.6945, allocations: 78.31 kB / 0.6592 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.6951, allocations: 375.2 kB / 0.6596 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6952, allocations: 4 kB / 0.6596 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3737/1.069, allocations: 27.58 MB / 0.6865 GB, free: 117.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.069, allocations: 204.5 kB / 0.6867 GB, free: 117.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.661, allocations: 0 / 0.6867 GB, free: 117.5 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/linux/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) Environment - environmentSimulation: