Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001596, allocations: 116 kB / 17.75 MB, free: 5.223 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.001743/0.001743, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.382/1.382, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1741/0.1741, allocations: 37.98 MB / 309.9 MB, free: 5.973 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.001441/0.001441, allocations: 75.89 kB / 432.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007291/0.1096, allocations: 5.383 MB / 493.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.1158, allocations: 4.203 MB / 497.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.1163, allocations: 15.88 kB / 497.4 MB, free: 14.7 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.00867/0.125, allocations: 4.839 MB / 0.4905 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008777/0.1259, allocations: 342.3 kB / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1266, allocations: 247.5 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.1286, allocations: 1.567 MB / 0.4926 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.1293, allocations: 384.2 kB / 0.4929 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.1298, allocations: 382.6 kB / 0.4933 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.1306, allocations: 438.4 kB / 0.4937 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.1308, allocations: 44 kB / 0.4937 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.1311, allocations: 127.8 kB / 0.4939 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.1315, allocations: 279.2 kB / 0.4941 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.132, allocations: 322.3 kB / 0.4944 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.133, allocations: 0.7474 MB / 0.4952 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.133, allocations: 8 kB / 0.4952 GB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.133, allocations: 0 / 0.4952 GB, free: 5.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.287e-05/0.133, allocations: 0 / 0.4952 GB, free: 5.008 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00202/0.135, allocations: 0.9056 MB / 0.4961 GB, free: 4.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1351, allocations: 11.89 kB / 0.4961 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.1356, allocations: 96.05 kB / 0.4962 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1369, allocations: 0.5527 MB / 0.4967 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1369, allocations: 33 kB / 0.4967 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.137, allocations: 51.89 kB / 0.4968 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1381, allocations: 0.6492 MB / 0.4974 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1381, allocations: 4 kB / 0.4974 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.1382, allocations: 23.92 kB / 0.4974 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1383, allocations: 44.97 kB / 0.4975 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/0.1391, allocations: 495.6 kB / 0.498 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.1426, allocations: 2.531 MB / 0.5004 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.1432, allocations: 319.6 kB / 0.5007 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1434, allocations: 178.5 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1435, allocations: 4 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1435, allocations: 34.56 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.175e-06/0.1435, allocations: 0 / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002827/0.1464, allocations: 1.637 MB / 0.5025 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.1465, allocations: 111 kB / 0.5026 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.147, allocations: 429.8 kB / 0.5031 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.1471, allocations: 37.64 kB / 0.5031 GB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.1473, allocations: 303.7 kB / 0.5034 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1474, allocations: 122.2 kB / 0.5035 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1476, allocations: 90.23 kB / 0.5036 GB, free: 11.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1477, allocations: 362.7 kB / 0.5039 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.148, allocations: 165 kB / 0.5041 GB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.1484, allocations: 305.7 kB / 0.5044 GB, free: 11.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.1491, allocations: 487.7 kB / 0.5048 GB, free: 10.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1491, allocations: 0 / 0.5048 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00136/0.1504, allocations: 0.7993 MB / 0.5056 GB, free: 9.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1505, allocations: 8 kB / 0.5056 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1505, allocations: 4.406 kB / 0.5056 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.1512, allocations: 213.5 kB / 0.5058 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.1515, allocations: 71.89 kB / 0.5059 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.1563, allocations: 4.238 MB / 0.5101 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.1565, allocations: 23.84 kB / 0.5101 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.1566, allocations: 23.98 kB / 0.5101 GB, free: 4.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.1569, allocations: 221.7 kB / 0.5103 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.157, allocations: 47.44 kB / 0.5104 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000906/0.1579, allocations: 0.6332 MB / 0.511 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1579, allocations: 0 / 0.511 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1579, allocations: 7.984 kB / 0.511 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.1581, allocations: 144.5 kB / 0.5111 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.1582, allocations: 12 kB / 0.5111 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1585, allocations: 16.02 kB / 0.5111 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.1586, allocations: 23.97 kB / 0.5112 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001321/0.1599, allocations: 0.727 MB / 0.5119 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001006/0.1609, allocations: 0.9004 MB / 0.5128 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002454/0.1612, allocations: 171.9 kB / 0.5129 GB, free: 1.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.1615, allocations: 291.1 kB / 0.5132 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Backend: time 2.004e-06/0.1615, allocations: 112 / 0.5132 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.1632, allocations: 0.7531 MB / 0.5139 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of SimCode: time 0.002532/0.1658, allocations: 1.928 MB / 0.5158 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Templates: time 0.01424/0.18, allocations: 7.664 MB / 0.5233 GB, free: 7.059 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)