Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.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(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 111 kB / 17.75 MB, free: 5.332 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.001763/0.001764, allocations: 182.5 kB / 18.67 MB, free: 4.418 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 37.98 MB / 309.9 MB, free: 5.969 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: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 60.47 kB / 432.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09835, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01133/0.1097, allocations: 10.34 MB / 498.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.1156, allocations: 3.938 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005886/0.1162, allocations: 35.81 kB / 0.4903 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.119, allocations: 1.175 MB / 0.4915 GB, free: 8.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.001919/0.121, allocations: 0.9409 MB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1224, allocations: 0.6316 MB / 0.493 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.1248, allocations: 2.076 MB / 0.495 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1264, allocations: 1.187 MB / 0.4962 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1277, allocations: 0.8756 MB / 0.4971 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1295, allocations: 0.9928 MB / 0.498 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003767/0.1299, allocations: 140 kB / 0.4982 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1311, allocations: 0.5694 MB / 0.4987 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008911/0.132, allocations: 0.7131 MB / 0.4994 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.1335, allocations: 0.8166 MB / 0.5002 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.1363, allocations: 2.302 MB / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1363, allocations: 4 kB / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1363, allocations: 0 / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.763e-05/0.1364, allocations: 0 / 0.5025 GB, free: 13.49 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004842/0.1412, allocations: 1.805 MB / 0.5042 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1413, allocations: 11.89 kB / 0.5042 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.1433, allocations: 294.8 kB / 0.5045 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.146, allocations: 1.083 MB / 0.5056 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/0.1461, allocations: 90.73 kB / 0.5057 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.1466, allocations: 151.8 kB / 0.5058 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.1498, allocations: 1.693 MB / 0.5075 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.1499, allocations: 7.984 kB / 0.5075 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.15, allocations: 51.98 kB / 0.5075 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003041/0.1503, allocations: 102.4 kB / 0.5076 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.153, allocations: 1.434 MB / 0.509 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008612/0.1616, allocations: 6.04 MB / 0.5149 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1628, allocations: 0.7018 MB / 0.5156 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/0.1634, allocations: 464.4 kB / 0.516 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.1635, allocations: 16.55 kB / 0.5161 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1635, allocations: 47.22 kB / 0.5161 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.1635, allocations: 0 / 0.5161 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.00905/0.1726, allocations: 4.317 MB / 0.5203 GB, free: 10.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.1727, allocations: 170.9 kB / 0.5205 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.1737, allocations: 0.8415 MB / 0.5213 GB, free: 9.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.1738, allocations: 41.7 kB / 0.5213 GB, free: 9.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.1743, allocations: 0.635 MB / 0.522 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.1745, allocations: 299.7 kB / 0.5222 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.1748, allocations: 218.8 kB / 0.5225 GB, free: 8.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.175, allocations: 349.9 kB / 0.5228 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/0.1758, allocations: 497.8 kB / 0.5233 GB, free: 7.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.1768, allocations: 0.7658 MB / 0.524 GB, free: 6.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.1787, allocations: 1.296 MB / 0.5253 GB, free: 5.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1787, allocations: 0 / 0.5253 GB, free: 5.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003862/0.1825, allocations: 1.901 MB / 0.5271 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1826, allocations: 8 kB / 0.5271 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003154/0.1857, allocations: 1.51 MB / 0.5286 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.1878, allocations: 0.566 MB / 0.5292 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.1892, allocations: 403.4 kB / 0.5296 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2258/0.415, allocations: 14.18 MB / 0.5434 GB, free: 39.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.4159, allocations: 64.78 kB / 0.5435 GB, free: 39.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.416, allocations: 46.16 kB / 0.5435 GB, free: 39.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001196/0.4172, allocations: 0.7993 MB / 0.5443 GB, free: 39.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008135/0.418, allocations: 0.7397 MB / 0.545 GB, free: 38.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/0.4195, allocations: 1.257 MB / 0.5462 GB, free: 38.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.4195, allocations: 2.094 kB / 0.5462 GB, free: 38.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003584/0.4231, allocations: 1.856 MB / 0.5481 GB, free: 37.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4231, allocations: 8.625 kB / 0.5481 GB, free: 37.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003388/0.4265, allocations: 1.458 MB / 0.5495 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.4287, allocations: 0.5696 MB / 0.55 GB, free: 36.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.4295, allocations: 219 kB / 0.5503 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4398, allocations: 11.06 MB / 0.5611 GB, free: 27.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/0.4408, allocations: 59.69 kB / 0.5611 GB, free: 27.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.4409, allocations: 47.73 kB / 0.5612 GB, free: 27.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.4412, allocations: 250.9 kB / 0.5614 GB, free: 27.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4414, allocations: 104.6 kB / 0.5615 GB, free: 27.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.4438, allocations: 1.404 MB / 0.5629 GB, free: 27.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4439, allocations: 7.562 kB / 0.5629 GB, free: 27.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4439, allocations: 7.938 kB / 0.5629 GB, free: 27.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.4443, allocations: 265.2 kB / 0.5631 GB, free: 26.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.4444, allocations: 27.45 kB / 0.5632 GB, free: 26.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.445, allocations: 47.39 kB / 0.5632 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4451, allocations: 65.14 kB / 0.5633 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003197/0.4483, allocations: 1.749 MB / 0.565 GB, free: 26.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002199/0.4505, allocations: 1.901 MB / 0.5668 GB, free: 25.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005713/0.4511, allocations: 491.5 kB / 0.5673 GB, free: 25.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005995/0.4517, allocations: 0.5878 MB / 0.5679 GB, free: 24.86 MB / 414.1 MB Notification: Performance of Backend: time 3.01e-07/0.4517, allocations: 0 / 0.5679 GB, free: 24.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005594/0.4573, allocations: 3.345 MB / 0.5711 GB, free: 22.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.003842/0.4612, allocations: 3.413 MB / 0.5745 GB, free: 19.93 MB / 414.1 MB Notification: Performance of Templates: time 0.03827/0.4995, allocations: 26.87 MB / 0.6007 GB, free: 9.043 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)