Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.9 kB / 16.62 MB, free: 6.812 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.00108/0.00108, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1851/0.1851, allocations: 38.02 MB / 329.4 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 70.14 kB / 398.3 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09777, allocations: 58.05 MB / 456.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007192/0.105, allocations: 5.205 MB / 461.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1083, allocations: 1.737 MB / 463.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.1088, allocations: 27.81 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.1099, allocations: 267 kB / 463.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.1106, allocations: 243 kB / 463.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.1112, allocations: 227.6 kB / 464 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.112, allocations: 0.6195 MB / 464.6 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.1124, allocations: 268.2 kB / 464.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.1128, allocations: 262.9 kB / 465.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.1134, allocations: 354.8 kB / 465.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.1135, allocations: 36 kB / 465.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.1138, allocations: 139.8 kB / 465.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.114, allocations: 223.5 kB / 465.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1143, allocations: 246.8 kB / 466.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.1149, allocations: 0.5956 MB / 466.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1149, allocations: 0 / 466.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.115, allocations: 4 kB / 466.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.115, allocations: 0 / 466.7 MB, free: 13.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001336/0.1163, allocations: 0.7621 MB / 467.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1164, allocations: 11.89 kB / 467.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005975/0.117, allocations: 92.22 kB / 467.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.1175, allocations: 396 kB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.1176, allocations: 37.34 kB / 468 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1177, allocations: 52.06 kB / 468.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.1186, allocations: 0.6716 MB / 468.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1187, allocations: 0 / 468.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.1187, allocations: 19.98 kB / 468.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.1189, allocations: 48.97 kB / 468.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.1196, allocations: 491.5 kB / 469.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.1227, allocations: 3.163 MB / 472.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.1231, allocations: 245.3 kB / 472.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1233, allocations: 113.7 kB / 472.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1233, allocations: 11.92 kB / 472.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1233, allocations: 34.56 kB / 472.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.1233, allocations: 0 / 472.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001342/0.1247, allocations: 0.8971 MB / 473.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1247, allocations: 77.11 kB / 473.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.1251, allocations: 336.4 kB / 474.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1251, allocations: 25.7 kB / 474.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1252, allocations: 287 kB / 474.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.1253, allocations: 94.73 kB / 474.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1254, allocations: 90.16 kB / 474.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1256, allocations: 350.7 kB / 475 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1258, allocations: 132.8 kB / 475.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.1261, allocations: 325.1 kB / 475.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1267, allocations: 0.4972 MB / 475.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1267, allocations: 0 / 475.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009946/0.1277, allocations: 0.5925 MB / 476.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1277, allocations: 18.16 kB / 476.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005815/0.1283, allocations: 333.3 kB / 476.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.1287, allocations: 105.6 kB / 477 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.129, allocations: 95.83 kB / 477.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.1317, allocations: 3.278 MB / 480.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1319, allocations: 19.98 kB / 480.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.132, allocations: 20 kB / 480.4 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0002132/0.1322, allocations: 221.7 kB / 480.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.1322, allocations: 27.62 kB / 480.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.1328, allocations: 313.1 kB / 480.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1328, allocations: 11.92 kB / 480.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1328, allocations: 7.922 kB / 480.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1329, allocations: 0 / 480.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1339, allocations: 0.8081 MB / 481.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1339, allocations: 0 / 481.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.1342, allocations: 59.91 kB / 481.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.1342, allocations: 11.92 kB / 481.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1342, allocations: 8 kB / 481.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1343, allocations: 0 / 481.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1343, allocations: 0 / 481.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.1349, allocations: 0.4954 MB / 482.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.135, allocations: 136.6 kB / 482.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.135, allocations: 8 kB / 482.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1352, allocations: 7.984 kB / 482.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.1353, allocations: 19.92 kB / 482.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1353, allocations: 8 kB / 482.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1355, allocations: 227 kB / 482.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1355, allocations: 4 kB / 482.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.136, allocations: 95.94 kB / 482.8 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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.0001251/0.1361, allocations: 103.2 kB / 482.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008986/0.137, allocations: 0.6035 MB / 483.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.137, allocations: 4 kB / 483.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1372, allocations: 130.1 kB / 483.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.1377, allocations: 96.28 kB / 483.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1393, allocations: 1.18 MB / 484.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1397, allocations: 0.8737 MB / 485.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.14, allocations: 115.2 kB / 485.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.1401, allocations: 27.44 kB / 485.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1401, allocations: 0 / 485.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Templates: time 0.007628/0.1477, allocations: 3.803 MB / 489.7 MB, free: 5.773 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)