Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 114.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.001585/0.001585, allocations: 188.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.328/1.328, 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.175/0.175, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.002305/0.002305, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1165, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006512/0.123, allocations: 4.569 MB / 492.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.1256, allocations: 1.348 MB / 493.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.1259, allocations: 19.88 kB / 493.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1273, allocations: 394.3 kB / 494.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007161/0.128, allocations: 258.8 kB / 494.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.1285, allocations: 159.7 kB / 494.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000788/0.1293, allocations: 0.5607 MB / 495.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.1299, allocations: 297.1 kB / 495.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.1304, allocations: 258.9 kB / 495.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.131, allocations: 283.1 kB / 495.9 MB, free: 196 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.1311, allocations: 32 kB / 495.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.1314, allocations: 123.8 kB / 496 MB, free: 40 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.1317, allocations: 191.5 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1319, allocations: 218.9 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.1326, allocations: 0.5139 MB / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.966e-05/0.1326, allocations: 4 kB / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1326, allocations: 3.938 kB / 497 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.1327, allocations: 0 / 497 MB, free: 15.11 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001379/0.134, allocations: 0.699 MB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1341, allocations: 15.89 kB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.1348, allocations: 80.41 kB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/0.1355, allocations: 411.2 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1355, allocations: 25.38 kB / 498.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.1357, allocations: 52.09 kB / 498.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.1365, allocations: 480.8 kB / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1365, allocations: 0 / 498.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.1366, allocations: 19.94 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.1367, allocations: 24.98 kB / 498.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.1373, allocations: 355.7 kB / 499.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1395, allocations: 1.714 MB / 0.4891 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1398, allocations: 149.1 kB / 0.4892 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1399, allocations: 113.7 kB / 0.4893 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.14, allocations: 7.922 kB / 0.4893 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.14, allocations: 46.48 kB / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.14, allocations: 0 / 0.4894 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001499/0.1415, allocations: 0.8815 MB / 0.4902 GB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1416, allocations: 85.05 kB / 0.4903 GB, free: 9.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1419, allocations: 304.5 kB / 0.4906 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1419, allocations: 33.7 kB / 0.4906 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1421, allocations: 251.4 kB / 0.4909 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1422, allocations: 63.09 kB / 0.4909 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.1423, allocations: 61.97 kB / 0.491 GB, free: 8.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1424, allocations: 346.8 kB / 0.4913 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1426, allocations: 96.22 kB / 0.4914 GB, free: 8.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.1428, allocations: 201.4 kB / 0.4916 GB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.1432, allocations: 328.5 kB / 0.4919 GB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1432, allocations: 0 / 0.4919 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009051/0.1441, allocations: 477.3 kB / 0.4924 GB, free: 7.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1441, allocations: 12.42 kB / 0.4924 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005973/0.1448, allocations: 316.7 kB / 0.4927 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.1452, allocations: 140.7 kB / 0.4928 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1455, allocations: 51.92 kB / 0.4929 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1484, allocations: 2.447 MB / 0.4953 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1486, allocations: 16 kB / 0.4953 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1486, allocations: 16 kB / 0.4953 GB, free: 4.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.1488, allocations: 189.7 kB / 0.4955 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.1489, allocations: 27.72 kB / 0.4955 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.1494, allocations: 261.4 kB / 0.4958 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1494, allocations: 4 kB / 0.4958 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1494, allocations: 0 / 0.4958 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1494, allocations: 3.984 kB / 0.4958 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1506, allocations: 0.7507 MB / 0.4965 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1506, allocations: 0 / 0.4965 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1508, allocations: 43.97 kB / 0.4965 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.1509, allocations: 32.83 kB / 0.4966 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.151, allocations: 15.92 kB / 0.4966 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.151, allocations: 8 kB / 0.4966 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.151, allocations: 0 / 0.4966 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.1515, allocations: 438.3 kB / 0.497 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1516, allocations: 108.8 kB / 0.4971 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.1517, allocations: 8 kB / 0.4971 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1518, allocations: 11.98 kB / 0.4971 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1519, allocations: 11.92 kB / 0.4971 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1519, allocations: 12 kB / 0.4972 GB, free: 2.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1521, allocations: 219 kB / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1521, allocations: 0 / 0.4974 GB, free: 1.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.1526, allocations: 84 kB / 0.4974 GB, free: 1.906 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1527, allocations: 99.25 kB / 0.4975 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007001/0.1534, allocations: 414.2 kB / 0.4979 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1534, allocations: 0.875 kB / 0.4979 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1537, allocations: 193.8 kB / 0.4981 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.1542, allocations: 57.19 kB / 0.4982 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1556, allocations: 0.8995 MB / 0.4991 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1561, allocations: 0.8458 MB / 0.4999 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1562, allocations: 23.44 kB / 0.4999 GB, free: 15.28 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1562, allocations: 3.938 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Templates: time 0.008985/0.1652, allocations: 5.74 MB / 0.5055 GB, free: 9.52 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)