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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001442/0.001442, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.25/1.25, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 137 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.171/0.171, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 71.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08144/0.08265, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005174/0.08787, allocations: 5.184 MB / 459.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.09041, allocations: 1.812 MB / 461 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.09105, allocations: 27.81 kB / 461 MB, free: 9.504 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.09193, allocations: 271 kB / 461.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.09254, allocations: 250.9 kB / 461.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.09319, allocations: 223.6 kB / 461.7 MB, free: 8.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.09393, allocations: 0.9238 MB / 462.7 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.09437, allocations: 236.3 kB / 462.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.09472, allocations: 238.9 kB / 463.1 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.09517, allocations: 342.9 kB / 463.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.09524, allocations: 20 kB / 463.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.09552, allocations: 139.7 kB / 463.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.0957, allocations: 211.4 kB / 463.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.09591, allocations: 234.8 kB / 464.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.09638, allocations: 0.5801 MB / 464.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09639, allocations: 0 / 464.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0964, allocations: 0 / 464.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.09642, allocations: 4 kB / 464.6 MB, free: 5.863 MB / 314.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.00117/0.0976, allocations: 0.7621 MB / 465.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.09764, allocations: 8.031 kB / 465.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.09821, allocations: 100.2 kB / 465.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.09873, allocations: 396.1 kB / 465.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.09876, allocations: 41.28 kB / 465.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.09888, allocations: 47.94 kB / 466 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.09957, allocations: 0.6599 MB / 466.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.0996, allocations: 7.984 kB / 466.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.09964, allocations: 19.98 kB / 466.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.09978, allocations: 48.97 kB / 466.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.1004, allocations: 495.5 kB / 467.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1029, allocations: 3.152 MB / 470.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.1033, allocations: 241.3 kB / 470.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1035, allocations: 121.7 kB / 470.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1035, allocations: 11.98 kB / 470.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1036, allocations: 38.56 kB / 470.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.1036, allocations: 0 / 470.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001324/0.1049, allocations: 0.8941 MB / 471.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.105, allocations: 81.11 kB / 471.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1053, allocations: 332.5 kB / 472.1 MB, free: 14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1053, allocations: 29.7 kB / 472.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1055, allocations: 291 kB / 472.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.1055, allocations: 86.83 kB / 472.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1057, allocations: 93.94 kB / 472.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1058, allocations: 346.7 kB / 472.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.106, allocations: 132.8 kB / 473 MB, free: 13.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.1063, allocations: 329.1 kB / 473.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.1068, allocations: 499.4 kB / 473.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1068, allocations: 4 kB / 473.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001004/0.1078, allocations: 0.5882 MB / 474.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1079, allocations: 8 kB / 474.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005716/0.1085, allocations: 333.2 kB / 474.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.1089, allocations: 118.2 kB / 474.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1092, allocations: 91.83 kB / 475 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.1117, allocations: 3.03 MB / 478 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1119, allocations: 24.03 kB / 478 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.112, allocations: 23.98 kB / 478 MB, free: 7.523 MB / 330.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 (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.0002209/0.1122, allocations: 217.5 kB / 478.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.1123, allocations: 27.62 kB / 478.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.1127, allocations: 316.8 kB / 478.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1128, allocations: 4 kB / 478.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1128, allocations: 0 / 478.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1128, allocations: 3.938 kB / 478.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1138, allocations: 0.8163 MB / 479.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1138, allocations: 0 / 479.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.1142, allocations: 55.97 kB / 479.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1142, allocations: 8.062 kB / 479.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1142, allocations: 8 kB / 479.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1142, allocations: 7.922 kB / 479.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1142, allocations: 4 kB / 479.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.1172, allocations: 2.391 MB / 481.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1173, allocations: 120.9 kB / 482 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1173, allocations: 11.98 kB / 482 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1175, allocations: 15.88 kB / 482 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1176, allocations: 27.77 kB / 482 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1176, allocations: 8 kB / 482.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1178, allocations: 227 kB / 482.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1178, allocations: 4 kB / 482.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000626/0.1184, allocations: 128 kB / 482.4 MB, free: 2.898 MB / 330.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 (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.0001631/0.1186, allocations: 103.2 kB / 482.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1196, allocations: 0.5839 MB / 483.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1196, allocations: 0 / 483.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1198, allocations: 119.9 kB / 483.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1203, allocations: 62.59 kB / 483.3 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1224, allocations: 1.414 MB / 484.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.123, allocations: 0.8779 MB / 485.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.1233, allocations: 119.1 kB / 485.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1234, allocations: 35.38 kB / 485.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1234, allocations: 0 / 485.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of Templates: time 0.00826/0.1317, allocations: 4.281 MB / 490 MB, free: 11.2 MB / 346.7 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)