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.001537/0.001536, allocations: 104.3 kB / 17.73 MB, free: 5.363 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.001676/0.001676, allocations: 191 kB / 18.67 MB, free: 4.441 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.468/1.468, 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.1756/0.1756, 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.0014/0.0014, allocations: 67.91 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 55.25 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005779/0.1131, allocations: 4.398 MB / 492.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1155, allocations: 1.563 MB / 493.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1157, allocations: 15.88 kB / 493.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.1166, allocations: 287.2 kB / 494 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.1172, allocations: 278.7 kB / 494.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006232/0.1179, allocations: 247.4 kB / 494.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1184, allocations: 0.6079 MB / 495.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.1188, allocations: 231.5 kB / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1191, allocations: 275 kB / 495.7 MB, free: 456 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.1196, allocations: 366.9 kB / 496 MB, free: 88 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1197, allocations: 40 kB / 496.1 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.1201, allocations: 231.7 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.1203, allocations: 235.4 kB / 496.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1206, allocations: 246.8 kB / 496.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.1212, allocations: 0.6696 MB / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.1213, allocations: 0 / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.1213, allocations: 0 / 497.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1213, allocations: 0 / 497.4 MB, free: 14.68 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.001347/0.1226, allocations: 0.77 MB / 498.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1227, allocations: 11.89 kB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.1233, allocations: 96.19 kB / 498.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.124, allocations: 427.1 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.124, allocations: 21.38 kB / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.1242, allocations: 56.09 kB / 498.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.1251, allocations: 0.6914 MB / 499.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1251, allocations: 0 / 499.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.1252, allocations: 19.98 kB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.1254, allocations: 68.94 kB / 499.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.1263, allocations: 0.6635 MB / 0.4885 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.1294, allocations: 2.658 MB / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.13, allocations: 317.2 kB / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1302, allocations: 209.7 kB / 0.4916 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1303, allocations: 8 kB / 0.4916 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1303, allocations: 30.56 kB / 0.4916 GB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.894e-06/0.1303, allocations: 0 / 0.4916 GB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001884/0.1322, allocations: 1.303 MB / 0.4929 GB, free: 6.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1322, allocations: 85.23 kB / 0.493 GB, free: 6.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1325, allocations: 287.3 kB / 0.4933 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1326, allocations: 29.7 kB / 0.4933 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1328, allocations: 259.5 kB / 0.4935 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.1329, allocations: 138 kB / 0.4937 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.133, allocations: 86.03 kB / 0.4938 GB, free: 6.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1331, allocations: 350.7 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1334, allocations: 188.9 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.1337, allocations: 325.3 kB / 0.4946 GB, free: 5.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.1343, allocations: 0.5546 MB / 0.4951 GB, free: 4.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1344, allocations: 0 / 0.4951 GB, free: 4.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001112/0.1355, allocations: 0.6857 MB / 0.4958 GB, free: 3.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1355, allocations: 8 kB / 0.4958 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007571/0.1363, allocations: 483.5 kB / 0.4963 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/0.1367, allocations: 118 kB / 0.4964 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.137, allocations: 83.83 kB / 0.4965 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.14, allocations: 3.262 MB / 0.4996 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.1403, allocations: 27.92 kB / 0.4997 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.1404, 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.0002794/0.1407, allocations: 205.7 kB / 0.4999 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1408, allocations: 35.52 kB / 0.4999 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.1415, allocations: 472.6 kB / 0.5004 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.1415, allocations: 12 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1415, allocations: 0 / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1415, allocations: 7.938 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.1431, allocations: 1.015 MB / 0.5014 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1431, allocations: 0 / 0.5014 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.1435, allocations: 71.89 kB / 0.5014 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1435, allocations: 3.938 kB / 0.5015 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1435, allocations: 8 kB / 0.5015 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1435, allocations: 7.938 kB / 0.5015 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1435, allocations: 3.938 kB / 0.5015 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1444, allocations: 0.7512 MB / 0.5022 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1445, allocations: 136.7 kB / 0.5023 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.1446, allocations: 11.94 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1448, allocations: 19.97 kB / 0.5024 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1448, allocations: 11.98 kB / 0.5024 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1448, allocations: 12 kB / 0.5024 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.145, allocations: 207.1 kB / 0.5026 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 0.5026 GB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.1455, allocations: 116 kB / 0.5027 GB, free: 12.36 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.0002315/0.1458, allocations: 139.2 kB / 0.5028 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1468, allocations: 0.7126 MB / 0.5035 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1468, allocations: 0 / 0.5035 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.1471, allocations: 216.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.0005034/0.1476, allocations: 81.22 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.001696/0.1493, allocations: 1.152 MB / 0.5049 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1497, allocations: 0.8746 MB / 0.5058 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1499, allocations: 35.42 kB / 0.5058 GB, free: 9.062 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1499, allocations: 0 / 0.5058 GB, free: 9.062 MB / 398.1 MB Notification: Performance of Templates: time 0.009667/0.1595, allocations: 7.005 MB / 0.5127 GB, free: 2.043 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)