Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.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 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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.0008575/0.0008575, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.311/1.311, allocations: 223.2 MB / 239 MB, free: 5.609 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.001148/0.001148, allocations: 184.5 kB / 290.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4446/0.4446, allocations: 79.48 MB / 420.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 12 kB / 0.4892 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 69.51 MB / 0.5571 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004202/0.3339, allocations: 5.257 MB / 0.5622 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.3369, allocations: 1.667 MB / 0.5639 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/0.3375, allocations: 10.88 kB / 0.5639 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3378, allocations: 145.9 kB / 0.564 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.3391, allocations: 0.5677 MB / 0.5646 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.34, allocations: 483.5 kB / 0.565 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.341, allocations: 1.114 MB / 0.5661 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3413, allocations: 217.3 kB / 0.5663 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.3417, allocations: 453.8 kB / 0.5668 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.3422, allocations: 0.5651 MB / 0.5673 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.3423, allocations: 44.47 kB / 0.5673 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.3426, allocations: 166.8 kB / 0.5675 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3428, allocations: 196.3 kB / 0.5677 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3429, allocations: 196.5 kB / 0.5679 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.3437, allocations: 0.9787 MB / 0.5688 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3437, allocations: 0 / 0.5688 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3437, allocations: 2.688 kB / 0.5688 GB, free: 35.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3437, allocations: 0 / 0.5688 GB, free: 35.89 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00573/0.3494, allocations: 2.185 MB / 0.571 GB, free: 35.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3495, allocations: 10.94 kB / 0.571 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.3497, allocations: 119.6 kB / 0.5711 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.3539, allocations: 0.769 MB / 0.5718 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.3548, allocations: 0.6596 MB / 0.5725 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.355, allocations: 259.5 kB / 0.5727 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3551, allocations: 68.28 kB / 0.5728 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.3569, allocations: 1.012 MB / 0.5738 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3569, allocations: 0 / 0.5738 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.357, allocations: 25.81 kB / 0.5738 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.357, allocations: 18.2 kB / 0.5738 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3587, allocations: 1.053 MB / 0.5749 GB, free: 34.04 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.004176/0.3629, allocations: 3.223 MB / 0.578 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.3646, allocations: 1.379 MB / 0.5794 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.3657, allocations: 0.7672 MB / 0.5801 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/0.3658, allocations: 9.25 kB / 0.5801 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3658, allocations: 49.34 kB / 0.5802 GB, free: 30.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.765e-06/0.3658, allocations: 0 / 0.5802 GB, free: 30.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02335/0.3892, allocations: 8.279 MB / 0.5882 GB, free: 29.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3893, allocations: 59.75 kB / 0.5883 GB, free: 29.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3903, allocations: 0.78 MB / 0.5891 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.3905, allocations: 40.92 kB / 0.5891 GB, free: 29.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.3908, allocations: 425.6 kB / 0.5895 GB, free: 28.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.391, allocations: 291.6 kB / 0.5898 GB, free: 28.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.3911, allocations: 19.22 kB / 0.5898 GB, free: 28.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.3912, allocations: 348 kB / 0.5901 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3925, allocations: 0.7159 MB / 0.5908 GB, free: 28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.3939, allocations: 0.8342 MB / 0.5917 GB, free: 27.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.3953, allocations: 0.7543 MB / 0.5924 GB, free: 27.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3953, allocations: 1.125 kB / 0.5924 GB, free: 27.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01247/0.4078, allocations: 4.931 MB / 0.5972 GB, free: 26.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.4078, allocations: 8.125 kB / 0.5972 GB, free: 26.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4078, allocations: 0 / 0.5972 GB, free: 26.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006162/0.414, allocations: 2.164 MB / 0.5993 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.4149, allocations: 172.4 kB / 0.5995 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/0.4349, allocations: 9.355 MB / 0.6086 GB, free: 21.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4363, allocations: 188 kB / 0.6088 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.4366, allocations: 35.69 kB / 0.6088 GB, free: 21.82 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 (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 prepare postOptimizeDAE: time 0.0006819/0.4373, allocations: 231 kB / 0.6091 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.4376, allocations: 103.3 kB / 0.6092 GB, free: 21.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.4497, allocations: 4.725 MB / 0.6138 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4498, allocations: 8 kB / 0.6138 GB, free: 18.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4498, allocations: 3.938 kB / 0.6138 GB, free: 18.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.4498, allocations: 4.922 kB / 0.6138 GB, free: 18.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.4623, allocations: 6.235 MB / 0.6199 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4624, allocations: 0 / 0.6199 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4629, allocations: 91.89 kB / 0.62 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005005/0.4679, allocations: 2.056 MB / 0.622 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.468, allocations: 16 kB / 0.622 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.4827, allocations: 8.211 MB / 0.63 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4827, allocations: 5 kB / 0.63 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.4961, allocations: 5.658 MB / 0.6355 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.4966, allocations: 195.6 kB / 0.6357 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.4969, allocations: 15.94 kB / 0.6357 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.4979, allocations: 128 kB / 0.6359 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006105/0.4985, allocations: 200.6 kB / 0.6361 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4986, allocations: 16 kB / 0.6361 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008153/0.4994, allocations: 0.5224 MB / 0.6366 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 3.938 kB / 0.6366 GB, free: 10.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001701/0.5012, allocations: 411.5 kB / 0.637 GB, free: 10.55 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 (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.01403/0.5152, allocations: 6.226 MB / 0.6431 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00623/0.5215, allocations: 2.56 MB / 0.6456 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5215, allocations: 0 / 0.6456 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/0.5257, allocations: 1.691 MB / 0.6472 GB, free: 12 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5267, allocations: 79.34 kB / 0.6473 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.5484, allocations: 10.24 MB / 0.6573 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.5491, allocations: 1.021 MB / 0.6583 GB, free: 4.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004098/0.5495, allocations: 83.31 kB / 0.6584 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.5501, allocations: 371.3 kB / 0.6587 GB, free: 3.969 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5501, allocations: 0 / 0.6587 GB, free: 3.969 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.985/3.535, allocations: 27.14 MB / 0.6852 GB, free: 9.188 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/3.535, allocations: 196.8 kB / 0.6854 GB, free: 8.953 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/6.043, allocations: 0 / 0.6854 GB, free: 8.953 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: