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.001393/0.001393, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001882/0.001882, allocations: 191.5 kB / 16.25 MB, free: 6.625 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.673/1.673, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3603/0.3603, allocations: 50.18 MB / 319.6 MB, free: 2.527 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.001762/0.001762, allocations: 91.81 kB / 388.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1719, allocations: 58.22 MB / 446.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.004163/0.1761, allocations: 2.424 MB / 449.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.18, allocations: 2.068 MB / 451.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.1805, allocations: 12 kB / 451.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.181, allocations: 91.33 kB / 451.5 MB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.1814, allocations: 163.2 kB / 451.7 MB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1831, allocations: 0.6926 MB / 452.4 MB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.184, allocations: 0.83 MB / 453.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.1844, allocations: 258.3 kB / 453.5 MB, free: 324 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2714/0.4557, allocations: 404 kB / 453.9 MB, free: 39.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.4568, allocations: 0.549 MB / 454.4 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.4571, allocations: 82.62 kB / 454.5 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.4576, allocations: 181.7 kB / 454.7 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.4579, allocations: 218.8 kB / 454.9 MB, free: 39.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.4582, allocations: 421.7 kB / 455.3 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.4595, allocations: 1.07 MB / 456.4 MB, free: 39.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4595, allocations: 0.8438 kB / 456.4 MB, free: 39.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4595, allocations: 0 / 456.4 MB, free: 39.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4595, allocations: 1.062 kB / 456.4 MB, free: 39.26 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.008464/0.468, allocations: 1.975 MB / 458.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.4681, allocations: 15.67 kB / 458.4 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005394/0.4735, allocations: 0.6581 MB / 459 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.4744, allocations: 0.5788 MB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.4746, allocations: 213.4 kB / 459.8 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.4748, allocations: 66.47 kB / 459.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.4768, allocations: 0.9277 MB / 460.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4768, allocations: 0.5625 kB / 460.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.4769, allocations: 29.12 kB / 460.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.477, allocations: 17.22 kB / 460.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4787, allocations: 0.9129 MB / 461.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004894/0.4836, allocations: 3.095 MB / 464.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.4853, allocations: 0.7861 MB / 465.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.4864, allocations: 0.6488 MB / 466.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4865, allocations: 11.52 kB / 466.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.4865, allocations: 41.94 kB / 466.3 MB, free: 36.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/0.4866, allocations: 5.406 kB / 466.3 MB, free: 36.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.02413/0.5107, allocations: 6.284 MB / 472.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.5108, allocations: 58.89 kB / 472.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.5117, allocations: 0.5728 MB / 473.3 MB, free: 34.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.512, allocations: 36.92 kB / 473.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.5122, allocations: 345 kB / 473.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.5126, allocations: 266.9 kB / 473.9 MB, free: 34.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.5129, allocations: 120 kB / 474 MB, free: 34.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.513, allocations: 383 kB / 474.4 MB, free: 33.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5141, allocations: 0.5297 MB / 474.9 MB, free: 33.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.5152, allocations: 0.6342 MB / 475.5 MB, free: 33.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/0.5294, allocations: 3.751 MB / 479.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5295, allocations: 1.219 kB / 479.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01338/0.5428, allocations: 3.687 MB / 483 MB, free: 31.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.5429, allocations: 7.203 kB / 483 MB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5429, allocations: 2.312 kB / 483 MB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/0.5491, allocations: 1.711 MB / 484.7 MB, free: 31.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.5497, allocations: 90.62 kB / 484.8 MB, free: 31.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/0.5734, allocations: 9.168 MB / 494 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5748, allocations: 129.9 kB / 494.1 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.5749, allocations: 29.73 kB / 494.1 MB, free: 26.88 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.0004122/0.5753, allocations: 204.5 kB / 494.3 MB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.5755, allocations: 68.72 kB / 494.4 MB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.5882, allocations: 3.758 MB / 498.1 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.5883, allocations: 11.78 kB / 498.2 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5883, allocations: 0 / 498.2 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.5884, allocations: 3.984 kB / 498.2 MB, free: 24.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.5905, allocations: 1.031 MB / 499.2 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.5906, allocations: 0 / 499.2 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.5911, allocations: 77.56 kB / 499.3 MB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005775/0.5969, allocations: 1.719 MB / 0.4892 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.5971, allocations: 19.84 kB / 0.4893 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.6147, allocations: 8.043 MB / 0.4971 GB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6148, allocations: 0 / 0.4971 GB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.6279, allocations: 4.554 MB / 0.5016 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.6283, allocations: 166.7 kB / 0.5017 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.6285, allocations: 16 kB / 0.5017 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/0.6295, allocations: 83.91 kB / 0.5018 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/0.6301, allocations: 184.7 kB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.6302, allocations: 24 kB / 0.502 GB, free: 11.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.6307, allocations: 410.8 kB / 0.5024 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6307, allocations: 0 / 0.5024 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00136/0.6321, allocations: 331.5 kB / 0.5027 GB, free: 11.16 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.0002652/0.6323, allocations: 122.5 kB / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005935/0.6383, allocations: 2.111 MB / 0.5049 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6383, allocations: 4 kB / 0.5049 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004139/0.6424, allocations: 1.481 MB / 0.5064 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.6432, allocations: 66.31 kB / 0.5064 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.6464, allocations: 1.78 MB / 0.5082 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.6468, allocations: 0.9619 MB / 0.5091 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.6471, allocations: 59.73 kB / 0.5091 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.6473, allocations: 47.44 kB / 0.5092 GB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6473, allocations: 0 / 0.5092 GB, free: 4.5 MB / 382.1 MB Notification: Performance of Templates: time 0.03465/0.6819, allocations: 20.08 MB / 0.5288 GB, free: 488 kB / 398.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2.makefile (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)