Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.08871/0.08871, allocations: 12.6 MB / 28.1 MB, free: 180 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.5 kB / 31.7 MB, free: 3.484 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.427/1.427, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001542/0.001542, allocations: 188.5 kB / 290.5 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4569/0.4569, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.003211/0.003211, allocations: 135.8 kB / 499.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3123, allocations: 68.11 MB / 0.5547 GB, free: 32.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00542/0.3178, allocations: 5.735 MB / 0.5603 GB, free: 28.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.3208, allocations: 1.689 MB / 0.5619 GB, free: 26.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.3213, allocations: 13.56 kB / 0.5619 GB, free: 26.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.3217, allocations: 207.6 kB / 0.5621 GB, free: 26.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3231, allocations: 0.6694 MB / 0.5628 GB, free: 26.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3242, allocations: 0.5632 MB / 0.5633 GB, free: 25.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.3252, allocations: 1.226 MB / 0.5645 GB, free: 25.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.3256, allocations: 274.1 kB / 0.5648 GB, free: 24.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.3262, allocations: 0.5159 MB / 0.5653 GB, free: 24.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005632/0.3267, allocations: 0.6277 MB / 0.5659 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3269, allocations: 87.28 kB / 0.566 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.3273, allocations: 225.9 kB / 0.5662 GB, free: 24.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3275, allocations: 239.4 kB / 0.5664 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.3279, allocations: 0.5395 MB / 0.567 GB, free: 23.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.329, allocations: 1.323 MB / 0.5683 GB, free: 22.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.329, allocations: 0 / 0.5683 GB, free: 22.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.329, allocations: 1.562 kB / 0.5683 GB, free: 22.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.329, allocations: 0 / 0.5683 GB, free: 22.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007499/0.3365, allocations: 2.332 MB / 0.5705 GB, free: 21.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3366, allocations: 13.89 kB / 0.5706 GB, free: 21.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.3367, allocations: 116.3 kB / 0.5707 GB, free: 21.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.3418, allocations: 0.7604 MB / 0.5714 GB, free: 20.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.343, allocations: 0.6944 MB / 0.5721 GB, free: 20.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.3433, allocations: 251.1 kB / 0.5723 GB, free: 19.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3434, allocations: 62.84 kB / 0.5724 GB, free: 19.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.3454, allocations: 0.9472 MB / 0.5733 GB, free: 19.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3455, allocations: 3.984 kB / 0.5733 GB, free: 19.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.3455, allocations: 29.2 kB / 0.5733 GB, free: 19.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3456, allocations: 16.25 kB / 0.5734 GB, free: 19.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.3478, allocations: 0.962 MB / 0.5743 GB, free: 18.88 MB / 398.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.00474/0.3525, allocations: 3.164 MB / 0.5774 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3543, allocations: 1.309 MB / 0.5787 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.3555, allocations: 0.7021 MB / 0.5793 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.3556, allocations: 20.64 kB / 0.5794 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3556, allocations: 35.22 kB / 0.5794 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.354e-06/0.3556, allocations: 3.938 kB / 0.5794 GB, free: 13.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02482/0.3804, allocations: 6.696 MB / 0.5859 GB, free: 6.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3805, allocations: 64 kB / 0.586 GB, free: 6.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.3815, allocations: 0.7828 MB / 0.5868 GB, free: 6.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.3816, allocations: 45.7 kB / 0.5868 GB, free: 6.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3818, allocations: 432.4 kB / 0.5872 GB, free: 5.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.3821, allocations: 291.8 kB / 0.5875 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.3824, allocations: 174.5 kB / 0.5877 GB, free: 5.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.3825, allocations: 341.9 kB / 0.588 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3838, allocations: 0.6425 MB / 0.5886 GB, free: 4.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3851, allocations: 0.7549 MB / 0.5894 GB, free: 3.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/0.402, allocations: 4.472 MB / 0.5937 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.402, allocations: 0 / 0.5937 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01357/0.4156, allocations: 4.031 MB / 0.5977 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4157, allocations: 8 kB / 0.5977 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.4157, allocations: 4 kB / 0.5977 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006426/0.4221, allocations: 1.874 MB / 0.5995 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.4231, allocations: 159.8 kB / 0.5997 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.4457, allocations: 9.104 MB / 0.6086 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.4472, allocations: 151 kB / 0.6087 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.4475, allocations: 35.98 kB / 0.6087 GB, free: 15.38 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0005864/0.4481, allocations: 222.3 kB / 0.6089 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.4484, allocations: 98.78 kB / 0.609 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.4616, allocations: 3.817 MB / 0.6128 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.4616, allocations: 8 kB / 0.6128 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4617, allocations: 4 kB / 0.6128 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.4617, allocations: 7.984 kB / 0.6128 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.4772, allocations: 5.328 MB / 0.618 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.4772, allocations: 0 / 0.618 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.4778, allocations: 91.83 kB / 0.6181 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006182/0.484, allocations: 1.745 MB / 0.6198 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.4842, allocations: 16 kB / 0.6198 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/0.5044, allocations: 8.088 MB / 0.6277 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5045, allocations: 3.938 kB / 0.6277 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.52, allocations: 4.684 MB / 0.6323 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.5205, allocations: 195.5 kB / 0.6325 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.5208, allocations: 16 kB / 0.6325 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.522, allocations: 87.95 kB / 0.6326 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000773/0.5227, allocations: 204.6 kB / 0.6327 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.5229, allocations: 20 kB / 0.6328 GB, free: 6.391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008183/0.5237, allocations: 0.5303 MB / 0.6333 GB, free: 5.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5237, allocations: 0 / 0.6333 GB, free: 5.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001373/0.5251, allocations: 395.6 kB / 0.6337 GB, free: 5.477 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01542/0.5405, allocations: 5.261 MB / 0.6388 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007088/0.5477, allocations: 2.326 MB / 0.6411 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5477, allocations: 0 / 0.6411 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004729/0.5524, allocations: 1.504 MB / 0.6425 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.5534, allocations: 77.97 kB / 0.6426 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/0.591, allocations: 14.37 MB / 0.6567 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.5918, allocations: 1.029 MB / 0.6577 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.5922, allocations: 78.19 kB / 0.6577 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.5928, allocations: 379.3 kB / 0.6581 GB, free: 12.05 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5928, allocations: 0 / 0.6581 GB, free: 12.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/0.6542, allocations: 30.26 MB / 0.6876 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.08, allocations: 9.438 kB / 0.6877 GB, free: 13.83 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)