Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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/Complex 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/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") translateModel(iPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009715, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009685/0.009685, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.373/0.373, allocations: 50.2 MB / 320.9 MB, free: 3.223 MB / 254.1 MB 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: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. 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.0007531/0.0007532, allocations: 20.22 kB / 391 MB, free: 464 kB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1286, allocations: 59.32 MB / 450.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.002847/0.1315, allocations: 2.042 MB / 452.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.1352, allocations: 2.057 MB / 454.4 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.1359, allocations: 12 kB / 454.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1363, allocations: 95.33 kB / 454.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.1369, allocations: 159.2 kB / 454.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2382/0.3751, allocations: 0.6813 MB / 455.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3762, allocations: 0.7833 MB / 456.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3766, allocations: 216.2 kB / 456.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.3769, allocations: 353.6 kB / 456.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.3774, allocations: 0.5026 MB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.3775, allocations: 41.91 kB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.3778, allocations: 132.4 kB / 457.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.378, allocations: 171.8 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3782, allocations: 400.3 kB / 458 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.3789, allocations: 1.005 MB / 459 MB, free: 37.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3789, allocations: 0 / 459 MB, free: 37.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3789, allocations: 0 / 459 MB, free: 37.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3789, allocations: 1.906 kB / 459 MB, free: 37.88 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005735/0.3847, allocations: 1.862 MB / 460.8 MB, free: 37.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3847, allocations: 9.031 kB / 460.8 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/0.3888, allocations: 0.6605 MB / 461.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.3894, allocations: 0.5762 MB / 462.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.3896, allocations: 229 kB / 462.3 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3897, allocations: 63.91 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3915, allocations: 0.9917 MB / 463.3 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3915, allocations: 2.812 kB / 463.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.3916, allocations: 25.36 kB / 463.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3916, allocations: 15.59 kB / 463.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3934, allocations: 0.9772 MB / 464.4 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.3978, allocations: 3.141 MB / 467.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3995, allocations: 0.8464 MB / 468.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.4007, allocations: 0.7128 MB / 469.1 MB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.782e-05/0.4008, allocations: 18.27 kB / 469.1 MB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4008, allocations: 44.62 kB / 469.1 MB, free: 35.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 4.328e-06/0.4008, allocations: 2.391 kB / 469.1 MB, free: 35.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.02443/0.4252, allocations: 7.811 MB / 476.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4253, allocations: 63.5 kB / 477 MB, free: 34.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.4261, allocations: 0.5654 MB / 477.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.4262, allocations: 35.17 kB / 477.6 MB, free: 34.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.4265, allocations: 349.5 kB / 477.9 MB, free: 33.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.4269, allocations: 261.7 kB / 478.2 MB, free: 33.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.4271, allocations: 65.81 kB / 478.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4272, allocations: 382.4 kB / 478.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.4293, allocations: 0.5941 MB / 479.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.431, allocations: 0.6949 MB / 479.9 MB, free: 32.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/0.4463, allocations: 4.189 MB / 484.1 MB, free: 31.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4463, allocations: 0 / 484.1 MB, free: 31.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0144/0.4607, allocations: 4.567 MB / 488.7 MB, free: 30.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.4608, allocations: 9.812 kB / 488.7 MB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4608, allocations: 2.25 kB / 488.7 MB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006907/0.4677, allocations: 2.025 MB / 490.7 MB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.4683, allocations: 94.55 kB / 490.8 MB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02289/0.4912, allocations: 9.414 MB / 0.4885 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4925, allocations: 156.9 kB / 0.4887 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.4926, allocations: 21.88 kB / 0.4887 GB, free: 25.94 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.delta:VARIABLE(flow=false start = Generator.delta0 fixed = true ) "Rotor angle (deg)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (58): * Single equations (assignments): 57 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004672/0.4931, allocations: 208.1 kB / 0.4889 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.4933, allocations: 76.25 kB / 0.4889 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.5062, allocations: 4.641 MB / 0.4935 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5063, allocations: 12 kB / 0.4935 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5063, allocations: 4 kB / 0.4935 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5063, allocations: 3.984 kB / 0.4935 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.5074, allocations: 1.024 MB / 0.4945 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5074, allocations: 0 / 0.4945 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.5079, allocations: 71.91 kB / 0.4946 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/0.5135, allocations: 2.029 MB / 0.4965 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5136, allocations: 16 kB / 0.4966 GB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5311, allocations: 8.192 MB / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5311, allocations: 0 / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/0.5492, allocations: 5.516 MB / 0.5099 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5496, allocations: 168.1 kB / 0.5101 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.5499, allocations: 16 kB / 0.5101 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.5514, allocations: 111.9 kB / 0.5102 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008577/0.5522, allocations: 180.7 kB / 0.5104 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.5524, allocations: 24.81 kB / 0.5104 GB, free: 4.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007132/0.5531, allocations: 414.8 kB / 0.5108 GB, free: 3.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5531, allocations: 0 / 0.5108 GB, free: 3.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001743/0.5549, allocations: 327.5 kB / 0.5111 GB, free: 3.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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.0003373/0.5552, allocations: 123.7 kB / 0.5113 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008945/0.5642, allocations: 2.326 MB / 0.5135 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5642, allocations: 0 / 0.5135 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0068/0.571, allocations: 1.654 MB / 0.5151 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5721, allocations: 71.56 kB / 0.5152 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.5765, allocations: 1.784 MB / 0.5169 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.5773, allocations: 0.9697 MB / 0.5179 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.5778, allocations: 52.83 kB / 0.5179 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.578, allocations: 43.42 kB / 0.518 GB, free: 12.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.578, allocations: 4 kB / 0.518 GB, free: 12.33 MB / 398.1 MB Notification: Performance of Templates: time 0.04201/0.62, allocations: 18.43 MB / 0.536 GB, free: 9.922 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order4test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: