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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001855/0.001856, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4256/0.4256, allocations: 50.19 MB / 319.5 MB, free: 2.5 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.001894/0.001894, allocations: 94.47 kB / 388.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1405, allocations: 58.2 MB / 446.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order4test2): time 0.003629/0.1442, allocations: 2.428 MB / 449.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.1473, allocations: 2.072 MB / 451.2 MB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1476, allocations: 12 kB / 451.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.1479, allocations: 95.28 kB / 451.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1483, allocations: 163.2 kB / 451.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1498, allocations: 0.6932 MB / 452.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000687/0.1505, allocations: 0.7793 MB / 453 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.1509, allocations: 234.8 kB / 453.2 MB, free: 472 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.1512, allocations: 366.2 kB / 453.6 MB, free: 104 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2593/0.4105, allocations: 0.5201 MB / 454.1 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.4108, allocations: 55.16 kB / 454.1 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.4112, allocations: 143.6 kB / 454.3 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4114, allocations: 190.5 kB / 454.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.4117, allocations: 388.4 kB / 454.9 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.4128, allocations: 1.036 MB / 455.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.4128, allocations: 0.9375 kB / 455.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4128, allocations: 0 / 455.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4128, allocations: 0 / 455.9 MB, free: 39.67 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.006436/0.4193, allocations: 1.983 MB / 457.9 MB, free: 39.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.4193, allocations: 8.656 kB / 457.9 MB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.4235, allocations: 0.6597 MB / 458.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.4243, allocations: 0.5745 MB / 459.1 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.4245, allocations: 214 kB / 459.3 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4247, allocations: 65.5 kB / 459.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.4265, allocations: 0.928 MB / 460.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4265, allocations: 1.312 kB / 460.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.4266, allocations: 27.5 kB / 460.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4266, allocations: 19.97 kB / 460.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.4283, allocations: 0.9114 MB / 461.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.4328, allocations: 3.093 MB / 464.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4344, allocations: 0.7827 MB / 465.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4356, allocations: 0.6512 MB / 465.8 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.4357, allocations: 11.53 kB / 465.8 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.4357, allocations: 52.2 kB / 465.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 3.727e-06/0.4357, allocations: 0 / 465.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.0234/0.4591, allocations: 6.282 MB / 472.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4592, allocations: 61.03 kB / 472.2 MB, free: 35.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.46, allocations: 0.5696 MB / 472.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.4601, allocations: 36.61 kB / 472.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4603, allocations: 349.5 kB / 473.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.4606, allocations: 262.2 kB / 473.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.4609, allocations: 120 kB / 473.5 MB, free: 34.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.461, allocations: 389.9 kB / 473.9 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.462, allocations: 0.5361 MB / 474.4 MB, free: 34.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.4631, allocations: 0.6255 MB / 475.1 MB, free: 34.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/0.4772, allocations: 3.741 MB / 478.8 MB, free: 33.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4773, allocations: 6.094 kB / 478.8 MB, free: 33.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.01369/0.491, allocations: 3.687 MB / 482.5 MB, free: 32.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.4911, allocations: 5.344 kB / 482.5 MB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4911, allocations: 2.094 kB / 482.5 MB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006516/0.4976, allocations: 1.708 MB / 484.2 MB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.4983, allocations: 94.61 kB / 484.3 MB, free: 31.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.5198, allocations: 8.414 MB / 492.7 MB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5211, allocations: 133 kB / 492.9 MB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.5212, allocations: 27.5 kB / 492.9 MB, free: 27.96 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.0004566/0.5217, allocations: 200.4 kB / 493.1 MB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.5219, allocations: 73.95 kB / 493.1 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.5342, allocations: 3.759 MB / 496.9 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5342, allocations: 8.156 kB / 496.9 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5343, allocations: 0 / 496.9 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.5343, allocations: 3.984 kB / 496.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.5357, allocations: 1.023 MB / 497.9 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5358, allocations: 1.25 kB / 497.9 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.5362, allocations: 83.39 kB / 498 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005864/0.5421, allocations: 1.717 MB / 499.7 MB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.5422, allocations: 11.44 kB / 499.8 MB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.5586, allocations: 7.33 MB / 0.4952 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5586, allocations: 0 / 0.4952 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.5714, allocations: 4.555 MB / 0.4996 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.5718, allocations: 168.1 kB / 0.4998 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5719, allocations: 16 kB / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/0.5728, allocations: 89.38 kB / 0.4999 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006262/0.5734, allocations: 176.7 kB / 0.5001 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.5735, allocations: 20 kB / 0.5001 GB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004488/0.5739, allocations: 418.8 kB / 0.5005 GB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5739, allocations: 0 / 0.5005 GB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001224/0.5752, allocations: 331.5 kB / 0.5008 GB, free: 13.17 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.0002569/0.5754, allocations: 118.9 kB / 0.5009 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.5807, allocations: 2.047 MB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5808, allocations: 4 kB / 0.5029 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.5847, allocations: 1.438 MB / 0.5043 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.5854, allocations: 69 kB / 0.5044 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.5881, allocations: 1.784 MB / 0.5061 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5885, allocations: 0.9619 MB / 0.5071 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.5888, allocations: 61.94 kB / 0.5071 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.589, allocations: 43.44 kB / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.589, allocations: 0 / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of Templates: time 0.02976/0.6187, allocations: 18.89 MB / 0.5256 GB, free: 3.781 MB / 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)