Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001397/0.001397, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.418/1.418, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1753/0.1753, allocations: 37.99 MB / 309.9 MB, free: 5.941 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.001413/0.001413, allocations: 67.89 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1048, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005784/0.1107, allocations: 4.573 MB / 492.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1131, allocations: 1.512 MB / 493.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1134, allocations: 15.88 kB / 493.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1145, allocations: 386.4 kB / 494.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1149, allocations: 242.8 kB / 494.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.1156, allocations: 251.4 kB / 494.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.1162, allocations: 0.5572 MB / 495.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1167, allocations: 334.5 kB / 495.6 MB, free: 464 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.117, allocations: 263 kB / 495.9 MB, free: 200 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.1175, allocations: 318.9 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.1176, allocations: 39.94 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.1179, allocations: 139.8 kB / 496.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.1181, allocations: 227.4 kB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1183, allocations: 242.8 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006553/0.119, allocations: 0.5996 MB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.119, allocations: 0 / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.119, allocations: 0 / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1191, allocations: 3.938 kB / 497.4 MB, free: 14.64 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001333/0.1204, allocations: 0.7698 MB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1204, allocations: 11.89 kB / 498.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.1211, allocations: 100.2 kB / 498.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.1218, allocations: 420 kB / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.1218, allocations: 29.38 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.122, allocations: 56.11 kB / 498.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/0.1229, allocations: 0.6449 MB / 499.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.123, allocations: 3.938 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.123, allocations: 20 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1231, allocations: 36.98 kB / 499.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.1239, allocations: 479.5 kB / 500 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.1273, allocations: 2.995 MB / 0.4912 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1276, allocations: 185 kB / 0.4914 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1278, allocations: 109.7 kB / 0.4915 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1278, allocations: 3.984 kB / 0.4915 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1278, allocations: 38.56 kB / 0.4915 GB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.1278, allocations: 0 / 0.4915 GB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001456/0.1293, allocations: 0.8429 MB / 0.4923 GB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1294, allocations: 81.23 kB / 0.4924 GB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.1298, allocations: 345.5 kB / 0.4927 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1298, allocations: 33.64 kB / 0.4928 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.13, allocations: 302.9 kB / 0.4931 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.1301, allocations: 78.98 kB / 0.4931 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.1302, allocations: 89.94 kB / 0.4932 GB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1304, allocations: 342.8 kB / 0.4936 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1306, allocations: 128.8 kB / 0.4937 GB, free: 6.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1309, allocations: 334.8 kB / 0.494 GB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.1315, allocations: 0.4903 MB / 0.4945 GB, free: 5.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1315, allocations: 4 kB / 0.4945 GB, free: 5.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000975/0.1325, allocations: 0.5525 MB / 0.495 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1325, allocations: 12.16 kB / 0.495 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005039/0.133, allocations: 276.5 kB / 0.4953 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.1334, allocations: 84.72 kB / 0.4954 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.1337, allocations: 99.83 kB / 0.4955 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1353, allocations: 1.726 MB / 0.4972 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1355, allocations: 15.98 kB / 0.4972 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1356, allocations: 24 kB / 0.4972 GB, free: 2.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.1358, allocations: 225.5 kB / 0.4974 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.1359, allocations: 35.53 kB / 0.4974 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1364, allocations: 284.7 kB / 0.4977 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1364, allocations: 4 kB / 0.4977 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1364, allocations: 3.938 kB / 0.4977 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.1365, allocations: 104.7 kB / 0.4978 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1365, allocations: 11.98 kB / 0.4978 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1367, allocations: 11.94 kB / 0.4978 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1367, allocations: 11.98 kB / 0.4979 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007163/0.1375, allocations: 464.1 kB / 0.4983 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006049/0.1381, allocations: 0.6301 MB / 0.4989 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001423/0.1382, allocations: 107.9 kB / 0.499 GB, free: 216 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.1385, allocations: 235.2 kB / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Backend: time 7.42e-07/0.1385, allocations: 0 / 0.4992 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1396, allocations: 0.4978 MB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.001623/0.1412, allocations: 1.391 MB / 0.5011 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.009616/0.1509, allocations: 4.709 MB / 0.5057 GB, free: 9.309 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)