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.144/0.144, allocations: 12.2 MB / 27.17 MB, free: 96 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.001104/0.001103, allocations: 113.3 kB / 30.68 MB, free: 6.383 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.891/1.891, allocations: 205.4 MB / 239.5 MB, free: 10.88 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.001507/0.001507, allocations: 172.6 kB / 290.6 MB, free: 8.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4652/0.4652, allocations: 78.54 MB / 420.1 MB, free: 6.609 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.0008893/0.0008893, allocations: 26.09 kB / 0.4895 GB, free: 37.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1635, allocations: 69.25 MB / 0.5572 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006255/0.1698, allocations: 5.303 MB / 0.5623 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.1738, allocations: 1.632 MB / 0.5639 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.175, allocations: 12 kB / 0.5639 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008205/0.1759, allocations: 146.9 kB / 0.5641 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.1783, allocations: 0.5633 MB / 0.5646 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1797, allocations: 486.8 kB / 0.5651 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.1816, allocations: 1.116 MB / 0.5662 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006086/0.1822, allocations: 207.3 kB / 0.5664 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009921/0.1832, allocations: 461.9 kB / 0.5668 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1843, allocations: 0.5599 MB / 0.5674 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.1847, allocations: 48 kB / 0.5674 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.1854, allocations: 163.9 kB / 0.5676 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.1858, allocations: 195 kB / 0.5678 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.1862, allocations: 193.1 kB / 0.5679 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.1875, allocations: 0.9856 MB / 0.5689 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1876, allocations: 0 / 0.5689 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1876, allocations: 0 / 0.5689 GB, free: 12.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.908e-05/0.1876, allocations: 4 kB / 0.5689 GB, free: 12.66 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.007087/0.1947, allocations: 2.186 MB / 0.571 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.1948, allocations: 11.98 kB / 0.5711 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003372/0.1951, allocations: 114.5 kB / 0.5712 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/0.2, allocations: 0.7673 MB / 0.5719 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.2016, allocations: 0.6666 MB / 0.5726 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.202, allocations: 255.5 kB / 0.5728 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.2023, allocations: 68 kB / 0.5729 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.2047, allocations: 1.01 MB / 0.5739 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2047, allocations: 0 / 0.5739 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/0.2048, allocations: 24 kB / 0.5739 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.2048, allocations: 20 kB / 0.5739 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.207, allocations: 1.055 MB / 0.5749 GB, free: 6.348 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.00601/0.2131, allocations: 3.21 MB / 0.5781 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.2152, allocations: 1.388 MB / 0.5794 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.2167, allocations: 0.7725 MB / 0.5802 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.2168, allocations: 16.58 kB / 0.5802 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2169, allocations: 39.22 kB / 0.5802 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.435e-06/0.2169, allocations: 0 / 0.5802 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02515/0.242, allocations: 8.279 MB / 0.5883 GB, free: 8.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2421, allocations: 60.06 kB / 0.5884 GB, free: 8.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2434, allocations: 0.7788 MB / 0.5891 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.2436, allocations: 41.7 kB / 0.5892 GB, free: 7.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.244, allocations: 432.4 kB / 0.5896 GB, free: 6.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.2444, allocations: 287.9 kB / 0.5899 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.2445, allocations: 23.94 kB / 0.5899 GB, free: 6.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2446, allocations: 341.9 kB / 0.5902 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.2461, allocations: 0.7167 MB / 0.5909 GB, free: 5.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.2477, allocations: 0.8291 MB / 0.5917 GB, free: 4.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.2493, allocations: 0.7615 MB / 0.5925 GB, free: 3.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.2493, allocations: 4 kB / 0.5925 GB, free: 3.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01301/0.2623, allocations: 4.93 MB / 0.5973 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.2624, allocations: 8 kB / 0.5973 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.2624, allocations: 4 kB / 0.5973 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.2686, allocations: 2.167 MB / 0.5994 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.2695, allocations: 171.7 kB / 0.5996 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.2902, allocations: 9.35 MB / 0.6087 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2917, allocations: 191 kB / 0.6089 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.2919, allocations: 35.98 kB / 0.6089 GB, free: 2.984 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.0006256/0.2925, allocations: 229.6 kB / 0.6091 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.2928, allocations: 98.78 kB / 0.6092 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.305, allocations: 4.719 MB / 0.6138 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.305, allocations: 12 kB / 0.6139 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.305, allocations: 3.938 kB / 0.6139 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.3051, allocations: 3.984 kB / 0.6139 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.3193, allocations: 6.231 MB / 0.6199 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3194, allocations: 0 / 0.6199 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.3199, allocations: 91.89 kB / 0.62 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/0.3257, allocations: 2.058 MB / 0.622 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.3259, allocations: 16 kB / 0.6221 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.3441, allocations: 8.221 MB / 0.6301 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3442, allocations: 0 / 0.6301 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.3587, allocations: 5.657 MB / 0.6356 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.3593, allocations: 199.5 kB / 0.6358 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.3596, allocations: 16 kB / 0.6358 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.3607, allocations: 132 kB / 0.6359 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007077/0.3614, allocations: 196.6 kB / 0.6361 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.3615, allocations: 20 kB / 0.6362 GB, free: 6.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.3624, allocations: 0.5185 MB / 0.6367 GB, free: 6.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3624, allocations: 3.938 kB / 0.6367 GB, free: 6.219 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001728/0.3641, allocations: 399.6 kB / 0.637 GB, free: 5.828 MB / 462.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.0147/0.3788, allocations: 6.237 MB / 0.6431 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006431/0.3853, allocations: 2.555 MB / 0.6456 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3853, allocations: 0 / 0.6456 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004334/0.3897, allocations: 1.693 MB / 0.6473 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.3906, allocations: 79.14 kB / 0.6474 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/0.4138, allocations: 10.26 MB / 0.6574 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3386/0.7524, allocations: 1.025 MB / 0.6584 GB, free: 97.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.7529, allocations: 74.88 kB / 0.6584 GB, free: 97.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.7534, allocations: 371.9 kB / 0.6588 GB, free: 97.05 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7535, allocations: 3.812 kB / 0.6588 GB, free: 97.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.8036, allocations: 27.12 MB / 0.6853 GB, free: 86.58 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.8039, allocations: 216.5 kB / 0.6855 GB, free: 86.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.664, allocations: 4.062 kB / 0.6855 GB, free: 86.32 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: