Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0898/0.0898, allocations: 12.6 MB / 28.1 MB, free: 236 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.001049/0.001049, allocations: 103.6 kB / 31.7 MB, free: 3.496 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.335/1.335, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001395/0.001395, allocations: 192.5 kB / 290.6 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4199/0.4199, allocations: 78.5 MB / 419.2 MB, free: 10.85 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.002856/0.002856, allocations: 139.8 kB / 499.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2668, allocations: 68.12 MB / 0.5547 GB, free: 21.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004781/0.2717, allocations: 5.797 MB / 0.5603 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.2746, allocations: 1.713 MB / 0.562 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.275, allocations: 8 kB / 0.562 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.2754, allocations: 210.3 kB / 0.5622 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2767, allocations: 0.6726 MB / 0.5629 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009353/0.2776, allocations: 0.5647 MB / 0.5634 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.2786, allocations: 1.241 MB / 0.5646 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.2789, allocations: 275.1 kB / 0.5649 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.2794, allocations: 0.5173 MB / 0.5654 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.2799, allocations: 0.6455 MB / 0.566 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.28, allocations: 88 kB / 0.5661 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.2803, allocations: 223.9 kB / 0.5663 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.2805, allocations: 246.8 kB / 0.5666 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.2808, allocations: 0.5398 MB / 0.5671 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.2817, allocations: 1.343 MB / 0.5684 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.2817, allocations: 0 / 0.5684 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2817, allocations: 3.938 kB / 0.5684 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2817, allocations: 4 kB / 0.5684 GB, free: 7.184 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006725/0.2885, allocations: 2.349 MB / 0.5707 GB, free: 4.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2885, allocations: 11.98 kB / 0.5707 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.2886, allocations: 118.5 kB / 0.5708 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.2932, allocations: 0.7518 MB / 0.5716 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008038/0.294, allocations: 0.7088 MB / 0.5723 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.2943, allocations: 256.1 kB / 0.5725 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.2944, allocations: 64 kB / 0.5726 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.2961, allocations: 0.9637 MB / 0.5735 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2961, allocations: 0 / 0.5735 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.2962, allocations: 24 kB / 0.5735 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2962, allocations: 16 kB / 0.5735 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.298, allocations: 0.9799 MB / 0.5745 GB, free: 0.8008 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.004906/0.3029, allocations: 3.182 MB / 0.5776 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3049, allocations: 1.297 MB / 0.5789 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3063, allocations: 0.6999 MB / 0.5796 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.3064, allocations: 20.62 kB / 0.5796 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3064, allocations: 43.16 kB / 0.5796 GB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.3064, allocations: 4 kB / 0.5796 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02725/0.3337, allocations: 6.755 MB / 0.5862 GB, free: 4.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.3338, allocations: 64 kB / 0.5863 GB, free: 4.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.3351, allocations: 0.8024 MB / 0.5871 GB, free: 3.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.3353, allocations: 41.7 kB / 0.5871 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.3356, allocations: 428.5 kB / 0.5875 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.336, allocations: 295.8 kB / 0.5878 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.3365, allocations: 178.9 kB / 0.588 GB, free: 2.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3367, allocations: 349.9 kB / 0.5883 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.3382, allocations: 0.6467 MB / 0.5889 GB, free: 1.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3399, allocations: 0.7718 MB / 0.5897 GB, free: 0.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01775/0.3576, allocations: 4.523 MB / 0.5941 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.3577, allocations: 0 / 0.5941 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01363/0.3713, allocations: 4.113 MB / 0.5981 GB, free: 8.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.3714, allocations: 4 kB / 0.5981 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3714, allocations: 4 kB / 0.5981 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006387/0.3778, allocations: 1.795 MB / 0.5999 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.3786, allocations: 171.7 kB / 0.6 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.4009, allocations: 9.333 MB / 0.6092 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.4023, allocations: 151 kB / 0.6093 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.4025, allocations: 36 kB / 0.6093 GB, free: 12.5 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005341/0.4031, allocations: 226.6 kB / 0.6096 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.4034, allocations: 98.78 kB / 0.6096 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.4166, allocations: 3.837 MB / 0.6134 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.4167, allocations: 8 kB / 0.6134 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4167, allocations: 0 / 0.6134 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.4167, allocations: 3.984 kB / 0.6134 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.4321, allocations: 5.352 MB / 0.6186 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.4322, allocations: 7.938 kB / 0.6186 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.4327, allocations: 87.89 kB / 0.6187 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/0.439, allocations: 1.749 MB / 0.6204 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.4391, allocations: 15.94 kB / 0.6204 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.458, allocations: 8.087 MB / 0.6283 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.458, allocations: 0 / 0.6283 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.473, allocations: 4.712 MB / 0.6329 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.4734, allocations: 183.7 kB / 0.6331 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.4737, allocations: 16 kB / 0.6331 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.4747, allocations: 91.89 kB / 0.6332 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/0.4754, allocations: 204.7 kB / 0.6334 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.4755, allocations: 16 kB / 0.6334 GB, free: 3.461 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007505/0.4762, allocations: 0.5343 MB / 0.634 GB, free: 2.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4762, allocations: 4 kB / 0.634 GB, free: 2.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4776, allocations: 411.5 kB / 0.6344 GB, free: 2.508 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0152/0.4928, allocations: 5.276 MB / 0.6395 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006938/0.4997, allocations: 2.354 MB / 0.6418 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4998, allocations: 0.5625 kB / 0.6418 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.5044, allocations: 1.511 MB / 0.6433 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.5053, allocations: 86.03 kB / 0.6434 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03737/0.5427, allocations: 14.6 MB / 0.6576 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.5434, allocations: 1.04 MB / 0.6586 GB, free: 9.223 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.5438, allocations: 78.17 kB / 0.6587 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.5443, allocations: 367.3 kB / 0.6591 GB, free: 8.785 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5443, allocations: 0 / 0.6591 GB, free: 8.785 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.27/0.8144, allocations: 30.72 MB / 0.6891 GB, free: 120.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.47, allocations: 13.25 kB / 0.6891 GB, free: 120.8 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)