Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001213/0.001212, allocations: 185.5 kB / 18.67 MB, free: 4.422 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.377/1.377, 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.1799/0.1799, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001377/0.001377, allocations: 63.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1012, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006381/0.1076, allocations: 4.406 MB / 492.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.1106, allocations: 1.57 MB / 493.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.111, allocations: 11.94 kB / 493.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1121, allocations: 279.2 kB / 494 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008809/0.113, allocations: 278.6 kB / 494.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.1138, allocations: 251.4 kB / 494.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009025/0.1148, allocations: 0.6118 MB / 495.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.1153, allocations: 227.5 kB / 495.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.1158, allocations: 271 kB / 495.7 MB, free: 448 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00065/0.1165, allocations: 374.8 kB / 496 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1166, allocations: 44 kB / 496.1 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005864/0.1172, allocations: 223.6 kB / 496.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.1175, allocations: 231.4 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1178, allocations: 254.8 kB / 496.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.1187, allocations: 0.662 MB / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1187, allocations: 0 / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1187, allocations: 0 / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.1188, allocations: 0 / 497.4 MB, free: 14.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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001805/0.1206, allocations: 0.7738 MB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1206, allocations: 15.89 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.1214, allocations: 92.22 kB / 498.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.1221, allocations: 419.2 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1222, allocations: 37.3 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.1223, allocations: 48.11 kB / 498.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1234, allocations: 0.6954 MB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.1234, allocations: 3.938 kB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.1235, allocations: 12 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.1237, allocations: 72.94 kB / 499.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1247, allocations: 0.6674 MB / 0.4885 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.1283, allocations: 2.646 MB / 0.4911 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1289, allocations: 317.3 kB / 0.4914 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.1292, allocations: 209.6 kB / 0.4916 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.1292, allocations: 11.92 kB / 0.4916 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1293, allocations: 38.56 kB / 0.4917 GB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.786e-06/0.1293, allocations: 0 / 0.4917 GB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002046/0.1313, allocations: 1.291 MB / 0.4929 GB, free: 6.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1314, allocations: 93.06 kB / 0.493 GB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.1317, allocations: 287.2 kB / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1318, allocations: 33.7 kB / 0.4933 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.132, allocations: 251.7 kB / 0.4935 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1321, allocations: 137.9 kB / 0.4937 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.1322, allocations: 86.03 kB / 0.4938 GB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1324, allocations: 354.7 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1327, allocations: 184.9 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.133, allocations: 325.3 kB / 0.4946 GB, free: 5.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.1337, allocations: 0.5546 MB / 0.4951 GB, free: 4.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1337, allocations: 0 / 0.4951 GB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00128/0.135, allocations: 0.6817 MB / 0.4958 GB, free: 3.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.135, allocations: 8 kB / 0.4958 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007958/0.1358, allocations: 483.9 kB / 0.4963 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.1363, allocations: 125.6 kB / 0.4964 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1366, allocations: 79.89 kB / 0.4965 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.1396, allocations: 3.266 MB / 0.4996 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1399, allocations: 19.92 kB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.14, allocations: 23.98 kB / 0.4997 GB, free: 15.57 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.1403, allocations: 213.7 kB / 0.4999 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1404, allocations: 35.53 kB / 0.4999 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.1411, allocations: 472.7 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.1411, allocations: 12 kB / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1412, allocations: 0 / 0.5004 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1412, allocations: 7.875 kB / 0.5004 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.1426, allocations: 1.011 MB / 0.5014 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1426, allocations: 4 kB / 0.5014 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.143, allocations: 67.89 kB / 0.5015 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.143, allocations: 11.88 kB / 0.5015 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.143, allocations: 11.94 kB / 0.5015 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1431, allocations: 0 / 0.5015 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1431, allocations: 0 / 0.5015 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.144, allocations: 0.7474 MB / 0.5022 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.1442, allocations: 140.7 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1443, allocations: 15.92 kB / 0.5024 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1445, allocations: 15.97 kB / 0.5024 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1445, allocations: 19.92 kB / 0.5024 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1446, allocations: 8 kB / 0.5024 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.1448, allocations: 215.1 kB / 0.5026 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1448, allocations: 0 / 0.5026 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000596/0.1454, allocations: 108 kB / 0.5027 GB, free: 12.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.1457, allocations: 139.1 kB / 0.5028 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1469, allocations: 0.7087 MB / 0.5035 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1469, allocations: 0 / 0.5035 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.1472, allocations: 208.2 kB / 0.5037 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.1477, allocations: 81.28 kB / 0.5038 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1496, allocations: 1.16 MB / 0.5049 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1501, allocations: 0.8707 MB / 0.5058 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1502, allocations: 39.42 kB / 0.5058 GB, free: 9.051 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1502, allocations: 0 / 0.5058 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Templates: time 0.01677/0.167, allocations: 6.942 MB / 0.5126 GB, free: 2.094 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)