Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007432/0.007432, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.532/1.532, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3945/0.3945, allocations: 50.21 MB / 320.9 MB, free: 3.227 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.0007324/0.0007324, allocations: 31.8 kB / 391 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1444, allocations: 59.3 MB / 450.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.002664/0.1472, allocations: 2.078 MB / 452.4 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.151, allocations: 2.064 MB / 454.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.1516, allocations: 8 kB / 454.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1522, allocations: 107.3 kB / 454.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.1531, allocations: 159.2 kB / 454.7 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.262/0.4151, allocations: 0.6927 MB / 455.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.4167, allocations: 0.8085 MB / 456.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.4171, allocations: 217.2 kB / 456.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.4175, allocations: 359.6 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.418, allocations: 0.5159 MB / 457.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.071e-05/0.4181, allocations: 45.84 kB / 457.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.4185, allocations: 130.9 kB / 457.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.4186, allocations: 180.6 kB / 457.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.4189, allocations: 405 kB / 458.1 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008069/0.4197, allocations: 1.024 MB / 459.1 MB, free: 37.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4197, allocations: 0.9062 kB / 459.1 MB, free: 37.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4197, allocations: 0 / 459.1 MB, free: 37.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4198, allocations: 0 / 459.1 MB, free: 37.92 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005859/0.4256, allocations: 1.887 MB / 461 MB, free: 37.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4257, allocations: 8.656 kB / 461 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/0.4297, allocations: 0.6621 MB / 461.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.4304, allocations: 0.5814 MB / 462.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.4307, allocations: 233.5 kB / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4308, allocations: 66.16 kB / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.4326, allocations: 1.001 MB / 463.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4326, allocations: 0 / 463.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.4327, allocations: 28.52 kB / 463.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4328, allocations: 14.78 kB / 463.6 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.4346, allocations: 0.9851 MB / 464.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.439, allocations: 3.165 MB / 467.7 MB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.4407, allocations: 0.8709 MB / 468.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.442, allocations: 0.7248 MB / 469.3 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.4421, allocations: 13.59 kB / 469.3 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4422, allocations: 44.81 kB / 469.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.195e-06/0.4422, allocations: 0 / 469.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02688/0.469, allocations: 7.8 MB / 477.2 MB, free: 34.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.4692, allocations: 62.27 kB / 477.2 MB, free: 34.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.4707, allocations: 0.5731 MB / 477.8 MB, free: 33.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.471, allocations: 35.08 kB / 477.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.4714, allocations: 360 kB / 478.2 MB, free: 33.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.4718, allocations: 271.7 kB / 478.4 MB, free: 33.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.472, allocations: 68.67 kB / 478.5 MB, free: 33.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.4723, allocations: 381.9 kB / 478.9 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.474, allocations: 0.6021 MB / 479.5 MB, free: 32.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4756, allocations: 0.7006 MB / 480.2 MB, free: 32.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/0.4924, allocations: 4.28 MB / 484.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.4925, allocations: 0 / 484.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01548/0.508, allocations: 4.592 MB / 489.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.5081, allocations: 6.281 kB / 489.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.5081, allocations: 3.203 kB / 489.1 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007327/0.5155, allocations: 2.015 MB / 491.1 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.5162, allocations: 95.78 kB / 491.2 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/0.5407, allocations: 9.416 MB / 0.4889 GB, free: 25.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5423, allocations: 156.3 kB / 0.489 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.5425, allocations: 31.25 kB / 0.489 GB, free: 25.73 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.delta:VARIABLE(flow=false start = order5Type1_Inputs_Outputs.delta0 fixed = true ) "Rotor angle (deg)" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" 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 (60): * Single equations (assignments): 59 * 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.0006492/0.5432, allocations: 202.4 kB / 0.4892 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.5435, allocations: 77.69 kB / 0.4893 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5571, allocations: 4.643 MB / 0.4938 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.5571, allocations: 14.23 kB / 0.4939 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5572, allocations: 4.875 kB / 0.4939 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.5572, allocations: 3.984 kB / 0.4939 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5587, allocations: 1.04 MB / 0.4949 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5588, allocations: 0 / 0.4949 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.5593, allocations: 79.91 kB / 0.495 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/0.5655, allocations: 2.034 MB / 0.4969 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.5657, allocations: 14.62 kB / 0.497 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/0.5839, allocations: 8.195 MB / 0.505 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5839, allocations: 0 / 0.505 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.5985, allocations: 5.521 MB / 0.5104 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.5989, allocations: 172.1 kB / 0.5105 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.5993, allocations: 16 kB / 0.5105 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6005, allocations: 111.8 kB / 0.5106 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006446/0.6012, allocations: 184.7 kB / 0.5108 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.6013, allocations: 24 kB / 0.5108 GB, free: 3.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005242/0.6018, allocations: 418.8 kB / 0.5112 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6018, allocations: 0 / 0.5112 GB, free: 3.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001409/0.6032, allocations: 335.5 kB / 0.5116 GB, free: 2.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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.0003046/0.6036, allocations: 121.5 kB / 0.5117 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006138/0.6097, allocations: 2.345 MB / 0.514 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6097, allocations: 0 / 0.514 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004892/0.6146, allocations: 1.667 MB / 0.5156 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.6156, allocations: 70.25 kB / 0.5157 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.6191, allocations: 1.821 MB / 0.5174 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.6198, allocations: 0.9662 MB / 0.5184 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.6201, allocations: 60.86 kB / 0.5184 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6203, allocations: 47.44 kB / 0.5185 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 1.914e-06/0.6203, allocations: 0 / 0.5185 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Templates: time 0.03362/0.654, allocations: 18.7 MB / 0.5367 GB, free: 9.141 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1) Environment - environmentSimulation: