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.001209/0.001209, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001383/0.001383, allocations: 191 kB / 18 MB, free: 4.977 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.662/1.662, allocations: 205.1 MB / 223.9 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.1734/0.1734, allocations: 37.98 MB / 309.2 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.001384/0.001384, allocations: 71.89 kB / 431.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, allocations: 55.24 MB / 487.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005764/0.13, allocations: 4.561 MB / 491.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.132, allocations: 1.352 MB / 493 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1322, allocations: 15.88 kB / 493 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1332, allocations: 402.3 kB / 493.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.1337, allocations: 250.8 kB / 493.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1341, allocations: 167.6 kB / 493.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.1347, allocations: 0.5607 MB / 494.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.1351, allocations: 293.1 kB / 494.7 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.1354, allocations: 262.9 kB / 495 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.1359, allocations: 283.1 kB / 495.2 MB, free: 312 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.1359, allocations: 32 kB / 495.3 MB, free: 280 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1362, allocations: 119.8 kB / 495.4 MB, free: 160 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1364, allocations: 191.5 kB / 495.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.1366, allocations: 222.9 kB / 495.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1372, allocations: 0.5062 MB / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1372, allocations: 0 / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1372, allocations: 4 kB / 496.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1372, allocations: 0 / 496.3 MB, free: 15.24 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.001144/0.1383, allocations: 0.7029 MB / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1384, allocations: 11.89 kB / 497 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.139, allocations: 80.41 kB / 497.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.1397, allocations: 419.2 kB / 497.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1398, allocations: 25.38 kB / 497.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.1399, allocations: 52.09 kB / 497.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.1406, allocations: 476.8 kB / 498 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1406, allocations: 7.875 kB / 498 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.1407, allocations: 12 kB / 498.1 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.1408, allocations: 28.98 kB / 498.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.1413, allocations: 355.7 kB / 498.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1435, allocations: 1.718 MB / 0.4884 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1439, allocations: 157.1 kB / 0.4886 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.144, allocations: 113.7 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.144, allocations: 3.938 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1441, allocations: 38.5 kB / 0.4887 GB, free: 10.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1441, allocations: 0 / 0.4887 GB, free: 10.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001515/0.1456, allocations: 0.8883 MB / 0.4896 GB, free: 9.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.1457, allocations: 77.11 kB / 0.4897 GB, free: 9.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.1461, allocations: 308.5 kB / 0.49 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1461, allocations: 25.7 kB / 0.49 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1463, allocations: 255.4 kB / 0.4902 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.1464, allocations: 67.22 kB / 0.4903 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1465, allocations: 57.98 kB / 0.4903 GB, free: 9.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1467, allocations: 350.7 kB / 0.4907 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.1469, allocations: 96.22 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1472, allocations: 197.4 kB / 0.491 GB, free: 8.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.1479, allocations: 332.5 kB / 0.4913 GB, free: 7.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.1479, allocations: 7.938 kB / 0.4913 GB, free: 7.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001347/0.1493, allocations: 469.7 kB / 0.4917 GB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1493, allocations: 4 kB / 0.4917 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009592/0.1503, allocations: 316.7 kB / 0.492 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.151, allocations: 144.7 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1513, allocations: 51.91 kB / 0.4922 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/0.1556, allocations: 2.452 MB / 0.4946 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.1559, allocations: 15.98 kB / 0.4946 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.156, allocations: 12 kB / 0.4946 GB, free: 4.367 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.0003378/0.1563, allocations: 189.7 kB / 0.4948 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.1564, allocations: 23.72 kB / 0.4949 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006696/0.1571, allocations: 273.2 kB / 0.4951 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1571, allocations: 0 / 0.4951 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1571, allocations: 8 kB / 0.4951 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1571, allocations: 0 / 0.4951 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1589, allocations: 0.7429 MB / 0.4958 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1589, allocations: 8 kB / 0.4959 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1593, allocations: 31.98 kB / 0.4959 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.1595, allocations: 44.83 kB / 0.4959 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1595, allocations: 4 kB / 0.4959 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1595, allocations: 4 kB / 0.4959 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1595, allocations: 0 / 0.4959 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.1603, allocations: 450.2 kB / 0.4964 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1605, allocations: 104.8 kB / 0.4965 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.1606, allocations: 8 kB / 0.4965 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.1608, allocations: 4 kB / 0.4965 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1609, allocations: 19.91 kB / 0.4965 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1609, allocations: 4 kB / 0.4965 GB, free: 2.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.1612, allocations: 215.1 kB / 0.4967 GB, free: 2.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1613, allocations: 3.938 kB / 0.4967 GB, free: 2.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007839/0.162, allocations: 88 kB / 0.4968 GB, free: 2.027 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.0001705/0.1622, allocations: 111.2 kB / 0.4969 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1633, allocations: 414.9 kB / 0.4973 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1633, allocations: 0 / 0.4973 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.1636, allocations: 177.9 kB / 0.4975 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.1643, allocations: 65.17 kB / 0.4975 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1662, allocations: 0.855 MB / 0.4984 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.1669, allocations: 0.8419 MB / 0.4992 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.1672, allocations: 66.91 kB / 0.4992 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.1673, allocations: 27.44 kB / 0.4993 GB, free: 15.38 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1673, allocations: 0 / 0.4993 GB, free: 15.38 MB / 398.1 MB Notification: Performance of Templates: time 0.01239/0.1797, allocations: 3.869 MB / 0.503 GB, free: 11.51 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)