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.001173/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001907/0.001907, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.689/1.689, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3998/0.3998, allocations: 50.18 MB / 319.5 MB, free: 2.406 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.001737/0.001737, allocations: 80.09 kB / 388.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1645, allocations: 58.21 MB / 446.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.003751/0.1683, allocations: 2.451 MB / 449.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1714, allocations: 2.095 MB / 451.3 MB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1717, allocations: 8 kB / 451.3 MB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1721, allocations: 95.33 kB / 451.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.1725, allocations: 163.2 kB / 451.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.174, allocations: 0.7126 MB / 452.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007815/0.1748, allocations: 0.807 MB / 453.1 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.1752, allocations: 218.8 kB / 453.3 MB, free: 460 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1756, allocations: 378.2 kB / 453.7 MB, free: 80 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2727/0.4483, allocations: 0.5374 MB / 454.2 MB, free: 39.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.4486, allocations: 55.81 kB / 454.2 MB, free: 39.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.449, allocations: 142.2 kB / 454.4 MB, free: 39.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4492, allocations: 193.9 kB / 454.6 MB, free: 39.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.4496, allocations: 397.3 kB / 455 MB, free: 39.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.4507, allocations: 1.054 MB / 456 MB, free: 39.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4507, allocations: 3.688 kB / 456 MB, free: 39.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4507, allocations: 0 / 456 MB, free: 39.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4507, allocations: 0 / 456 MB, free: 39.55 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.006568/0.4573, allocations: 2.007 MB / 458 MB, free: 38.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.4574, allocations: 7.812 kB / 458 MB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.4615, allocations: 0.6567 MB / 458.7 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.4624, allocations: 0.5889 MB / 459.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.4626, allocations: 213.8 kB / 459.5 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4627, allocations: 69.88 kB / 459.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.4646, allocations: 0.9354 MB / 460.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4646, allocations: 0 / 460.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.4647, allocations: 27.72 kB / 460.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4647, allocations: 14.41 kB / 460.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4665, allocations: 0.9254 MB / 461.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.4713, allocations: 3.117 MB / 464.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.4731, allocations: 0.8097 MB / 465.4 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4743, allocations: 0.6578 MB / 466 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.4745, allocations: 17.41 kB / 466.1 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.4745, allocations: 46.53 kB / 466.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.759e-06/0.4746, allocations: 0 / 466.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02378/0.4983, allocations: 6.27 MB / 472.4 MB, free: 35.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.4985, allocations: 61.06 kB / 472.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/0.4995, allocations: 0.5845 MB / 473 MB, free: 35.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.4996, allocations: 36.89 kB / 473.1 MB, free: 35.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.4999, allocations: 349.8 kB / 473.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.5002, allocations: 274.5 kB / 473.7 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.5005, allocations: 123.7 kB / 473.8 MB, free: 34.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5006, allocations: 384.5 kB / 474.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.5017, allocations: 0.5351 MB / 474.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.5028, allocations: 0.6365 MB / 475.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/0.5177, allocations: 3.842 MB / 479.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.5178, allocations: 0 / 479.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01478/0.5326, allocations: 3.708 MB / 482.9 MB, free: 31.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.5327, allocations: 5.312 kB / 482.9 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5327, allocations: 3.562 kB / 482.9 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.5396, allocations: 1.704 MB / 484.6 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.5402, allocations: 96.97 kB / 484.7 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.5644, allocations: 8.416 MB / 493.1 MB, free: 27.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.5662, allocations: 128.2 kB / 493.2 MB, free: 27.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.5664, allocations: 31.98 kB / 493.3 MB, free: 27.68 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.0005936/0.567, allocations: 205.2 kB / 493.5 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.5673, allocations: 73.62 kB / 493.5 MB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/0.5838, allocations: 3.759 MB / 497.3 MB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.5839, allocations: 7.5 kB / 497.3 MB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5839, allocations: 1.125 kB / 497.3 MB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.5839, allocations: 7.984 kB / 497.3 MB, free: 25.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.5856, allocations: 1.046 MB / 498.4 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5856, allocations: 4.844 kB / 498.4 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.5863, allocations: 73.19 kB / 498.4 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008497/0.5949, allocations: 1.709 MB / 0.4884 GB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/0.5953, allocations: 25.89 kB / 0.4884 GB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/0.6178, allocations: 7.323 MB / 0.4956 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6178, allocations: 4 kB / 0.4956 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.6309, allocations: 4.58 MB / 0.5001 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.6313, allocations: 164.1 kB / 0.5002 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.6315, allocations: 16 kB / 0.5002 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.6324, allocations: 87.81 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/0.633, allocations: 180.7 kB / 0.5005 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.6331, allocations: 23.98 kB / 0.5005 GB, free: 13.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.6336, allocations: 421.5 kB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6336, allocations: 4 kB / 0.5009 GB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001343/0.635, allocations: 331.5 kB / 0.5012 GB, free: 12.76 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.0002697/0.6353, allocations: 123.3 kB / 0.5014 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005491/0.6408, allocations: 2.069 MB / 0.5034 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.6408, allocations: 0.5 kB / 0.5034 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.6449, allocations: 1.449 MB / 0.5048 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.6457, allocations: 66.81 kB / 0.5049 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.6488, allocations: 1.804 MB / 0.5066 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.6493, allocations: 0.9683 MB / 0.5076 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.6496, allocations: 61.95 kB / 0.5076 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6498, allocations: 43.42 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6498, allocations: 0 / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of Templates: time 0.03076/0.6805, allocations: 19.15 MB / 0.5264 GB, free: 3.059 MB / 398.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (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)