Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 171.2 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008071/0.0008072, allocations: 102.2 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1836/0.1836, allocations: 38.07 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 56.33 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005087/0.1058, allocations: 4.578 MB / 483.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1083, allocations: 1.692 MB / 485.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1085, allocations: 19.88 kB / 485.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1088, allocations: 83.38 kB / 485.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1094, allocations: 286.5 kB / 485.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.11, allocations: 239.6 kB / 485.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.1107, allocations: 0.7248 MB / 486.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.1115, allocations: 450.9 kB / 487.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.112, allocations: 223 kB / 487.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006324/0.1126, allocations: 319 kB / 487.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.1127, allocations: 20 kB / 487.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.113, allocations: 91.86 kB / 487.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1132, allocations: 211.5 kB / 488 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1134, allocations: 109.5 kB / 488.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1139, allocations: 446.9 kB / 488.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1139, allocations: 0 / 488.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1139, allocations: 4 kB / 488.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.701e-05/0.1139, allocations: 3.938 kB / 488.5 MB, free: 8.52 MB / 330.7 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.001487/0.1154, allocations: 0.6879 MB / 489.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1155, allocations: 8.031 kB / 489.2 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.1161, allocations: 95.23 kB / 489.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.1167, allocations: 391 kB / 489.7 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.1167, allocations: 32.98 kB / 489.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.1169, allocations: 43.91 kB / 489.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.1178, allocations: 0.6638 MB / 490.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1178, allocations: 7.938 kB / 490.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.526e-05/0.1179, allocations: 19.98 kB / 490.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.118, allocations: 48.97 kB / 490.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007966/0.1188, allocations: 491.5 kB / 491 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.1219, allocations: 3.156 MB / 494.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.1223, allocations: 241.9 kB / 494.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1225, allocations: 126 kB / 494.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1225, allocations: 192 / 494.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1226, allocations: 42.69 kB / 494.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.1226, allocations: 0 / 494.5 MB, free: 2.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001345/0.1239, allocations: 0.8947 MB / 495.4 MB, free: 1.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.124, allocations: 85.23 kB / 495.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1243, allocations: 332.4 kB / 495.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1243, allocations: 25.7 kB / 495.9 MB, free: 0.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1245, allocations: 287.1 kB / 496.1 MB, free: 432 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1246, allocations: 94.73 kB / 496.2 MB, free: 336 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.1246, allocations: 8 kB / 496.2 MB, free: 328 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1248, allocations: 350.8 kB / 496.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.125, allocations: 128.8 kB / 496.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1253, allocations: 321.2 kB / 497 MB, free: 15.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1256, allocations: 191.8 kB / 497.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1256, allocations: 0 / 497.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001029/0.1266, allocations: 0.5962 MB / 497.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1267, allocations: 12.03 kB / 497.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005939/0.1273, allocations: 321.4 kB / 498.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.1277, allocations: 125.5 kB / 498.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.128, allocations: 83.89 kB / 498.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.1306, allocations: 3.026 MB / 0.4896 GB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.1308, allocations: 19.98 kB / 0.4896 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.1309, allocations: 23.95 kB / 0.4897 GB, free: 10.76 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1311, allocations: 221.8 kB / 0.4899 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1312, allocations: 31.62 kB / 0.4899 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.1317, allocations: 316.6 kB / 0.4902 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1317, allocations: 7.938 kB / 0.4902 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1317, allocations: 0 / 0.4902 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1317, allocations: 7.984 kB / 0.4902 GB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1327, allocations: 0.8005 MB / 0.491 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1327, allocations: 0 / 0.491 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1331, allocations: 59.91 kB / 0.4911 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1331, allocations: 0 / 0.4911 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1331, allocations: 11.98 kB / 0.4911 GB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1331, allocations: 4 kB / 0.4911 GB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1331, allocations: 3.953 kB / 0.4911 GB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1337, allocations: 0.5141 MB / 0.4916 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1338, allocations: 120.8 kB / 0.4917 GB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.1339, allocations: 8 kB / 0.4917 GB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.134, allocations: 11.98 kB / 0.4917 GB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1341, allocations: 19.94 kB / 0.4917 GB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1341, allocations: 12 kB / 0.4917 GB, free: 8.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1343, allocations: 219 kB / 0.4919 GB, free: 8.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1343, allocations: 0 / 0.4919 GB, free: 8.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.1347, allocations: 100 kB / 0.492 GB, free: 8.191 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.1349, allocations: 107.1 kB / 0.4921 GB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007979/0.1357, allocations: 0.5726 MB / 0.4927 GB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1357, allocations: 0 / 0.4927 GB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.1359, allocations: 127.8 kB / 0.4928 GB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.1363, allocations: 61.72 kB / 0.4929 GB, free: 7.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.138, allocations: 1.275 MB / 0.4941 GB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.1385, allocations: 0.8779 MB / 0.495 GB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1386, allocations: 31.42 kB / 0.495 GB, free: 5.047 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1386, allocations: 0 / 0.495 GB, free: 5.047 MB / 346.7 MB Notification: Performance of Templates: time 0.008126/0.1468, allocations: 6.475 MB / 0.5013 GB, free: 14.57 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)