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/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.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/package.mo): time 0.08033/0.08033, allocations: 12.2 MB / 27.47 MB, free: 0.9297 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.0007722/0.0007725, allocations: 95.52 kB / 31 MB, free: 4.535 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.3/1.3, allocations: 205.4 MB / 239.8 MB, free: 12.08 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.0009836/0.0009836, allocations: 177.6 kB / 291 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4375/0.4375, allocations: 78.54 MB / 420.5 MB, free: 48.75 MB / 334.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.0008453/0.0008454, allocations: 32 kB / 0.4902 GB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3617, allocations: 69.22 MB / 0.5578 GB, free: 43.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005545/0.3673, allocations: 5.636 MB / 0.5633 GB, free: 41.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.3705, allocations: 1.716 MB / 0.565 GB, free: 40.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.371, allocations: 10.88 kB / 0.565 GB, free: 40.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.3714, allocations: 158 kB / 0.5651 GB, free: 40.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3729, allocations: 0.6038 MB / 0.5657 GB, free: 39.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.374, allocations: 0.5143 MB / 0.5662 GB, free: 39.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3753, allocations: 1.169 MB / 0.5674 GB, free: 38.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.3757, allocations: 238.5 kB / 0.5676 GB, free: 38.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.3763, allocations: 469.9 kB / 0.568 GB, free: 38.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.3768, allocations: 0.59 MB / 0.5686 GB, free: 38.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.377, allocations: 46.81 kB / 0.5687 GB, free: 38.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.3774, allocations: 177.6 kB / 0.5688 GB, free: 38.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3775, allocations: 194 kB / 0.569 GB, free: 38.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.3779, allocations: 0.5169 MB / 0.5695 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009981/0.3789, allocations: 1.253 MB / 0.5708 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.379, allocations: 7.938 kB / 0.5708 GB, free: 37.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.379, allocations: 0 / 0.5708 GB, free: 37.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.379, allocations: 1 kB / 0.5708 GB, free: 37.2 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.006604/0.3856, allocations: 2.174 MB / 0.5729 GB, free: 36.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3856, allocations: 15.61 kB / 0.5729 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.3858, allocations: 121.7 kB / 0.573 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.3905, allocations: 0.7624 MB / 0.5738 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.3914, allocations: 0.6979 MB / 0.5744 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.3917, allocations: 262.1 kB / 0.5747 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3918, allocations: 68.53 kB / 0.5748 GB, free: 35.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.3936, allocations: 1.016 MB / 0.5757 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3937, allocations: 3.938 kB / 0.5758 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.3937, allocations: 29.91 kB / 0.5758 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3938, allocations: 18.59 kB / 0.5758 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3958, allocations: 1.053 MB / 0.5768 GB, free: 34.58 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.004577/0.4004, allocations: 3.214 MB / 0.58 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.4022, allocations: 1.389 MB / 0.5813 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.4035, allocations: 0.77 MB / 0.5821 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.4036, allocations: 9.375 kB / 0.5821 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4037, allocations: 45.16 kB / 0.5821 GB, free: 31.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.845e-06/0.4037, allocations: 4 kB / 0.5821 GB, free: 31.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02731/0.431, allocations: 8.327 MB / 0.5903 GB, free: 30.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4311, allocations: 62.31 kB / 0.5903 GB, free: 30.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/0.432, allocations: 0.7804 MB / 0.5911 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.4321, allocations: 40.45 kB / 0.5911 GB, free: 29.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.4324, allocations: 424.7 kB / 0.5915 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.4327, allocations: 291.4 kB / 0.5918 GB, free: 29.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.4328, allocations: 92.38 kB / 0.5919 GB, free: 29.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.4329, allocations: 343.2 kB / 0.5922 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4345, allocations: 0.7218 MB / 0.5929 GB, free: 28.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.4361, allocations: 0.8335 MB / 0.5937 GB, free: 28.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.4546, allocations: 4.947 MB / 0.5986 GB, free: 26.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4547, allocations: 0 / 0.5986 GB, free: 26.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01613/0.4708, allocations: 4.954 MB / 0.6034 GB, free: 25.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.4709, allocations: 5.75 kB / 0.6034 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4709, allocations: 2.469 kB / 0.6034 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007151/0.4781, allocations: 2.177 MB / 0.6055 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009182/0.479, allocations: 173.7 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.4988, allocations: 9.353 MB / 0.6148 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.5002, allocations: 187 kB / 0.615 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.5003, allocations: 39.98 kB / 0.6151 GB, free: 17.14 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.0004017/0.5007, allocations: 230.7 kB / 0.6153 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5009, allocations: 98.78 kB / 0.6154 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.5137, allocations: 4.735 MB / 0.62 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5137, allocations: 8 kB / 0.62 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5137, allocations: 0 / 0.62 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.5137, allocations: 7.984 kB / 0.62 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.5277, allocations: 6.234 MB / 0.6261 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5277, allocations: 3.938 kB / 0.6261 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.5282, allocations: 91.89 kB / 0.6262 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005655/0.5339, allocations: 2.054 MB / 0.6282 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.534, allocations: 11.98 kB / 0.6282 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.5516, allocations: 8.237 MB / 0.6363 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5517, allocations: 0 / 0.6363 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.5676, allocations: 5.669 MB / 0.6418 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.568, allocations: 191.6 kB / 0.642 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5681, allocations: 16 kB / 0.642 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.5691, allocations: 131.9 kB / 0.6421 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/0.5697, allocations: 192.7 kB / 0.6423 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.5698, allocations: 16 kB / 0.6423 GB, free: 4.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006341/0.5704, allocations: 0.538 MB / 0.6428 GB, free: 4.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5704, allocations: 4 kB / 0.6428 GB, free: 4.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5715, allocations: 403.5 kB / 0.6432 GB, free: 3.941 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.01612/0.5876, allocations: 6.245 MB / 0.6493 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/0.5944, allocations: 2.561 MB / 0.6518 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5945, allocations: 0.5625 kB / 0.6518 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00489/0.5994, allocations: 1.699 MB / 0.6535 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.6001, allocations: 75.31 kB / 0.6536 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03867/0.6388, allocations: 16.64 MB / 0.6698 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.6394, allocations: 1.029 MB / 0.6708 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.6398, allocations: 82.17 kB / 0.6709 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.6402, allocations: 371.3 kB / 0.6712 GB, free: 6.852 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6402, allocations: 4 kB / 0.6712 GB, free: 6.848 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.6879, allocations: 27.32 MB / 0.6979 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.6881, allocations: 223.9 kB / 0.6981 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.157, allocations: 0 / 0.6981 GB, free: 11.39 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)