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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.001251/0.00125, allocations: 189.5 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.243/1.243, allocations: 194.2 MB / 212.2 MB, free: 2.371 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.001703/0.001703, allocations: 135 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1662/0.1662, allocations: 37.94 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08458, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005095/0.08971, allocations: 5.212 MB / 459.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.09234, allocations: 1.723 MB / 460.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.09271, allocations: 27.81 kB / 461 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009529/0.09367, allocations: 350.7 kB / 461.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004532/0.09413, allocations: 207.1 kB / 461.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.09466, allocations: 231.5 kB / 461.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.09518, allocations: 0.8576 MB / 462.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.09561, allocations: 322.4 kB / 462.9 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.09588, allocations: 223 kB / 463.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.09629, allocations: 338.9 kB / 463.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.09635, allocations: 24 kB / 463.5 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.09662, allocations: 143.8 kB / 463.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.0968, allocations: 219.4 kB / 463.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.09699, allocations: 246.7 kB / 464.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.0974, allocations: 0.5763 MB / 464.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09741, allocations: 0 / 464.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.09742, allocations: 3.938 kB / 464.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.09744, allocations: 4 kB / 464.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001178/0.09862, allocations: 0.7583 MB / 465.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09866, allocations: 12.03 kB / 465.4 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.09928, allocations: 96.14 kB / 465.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.09989, allocations: 392.1 kB / 465.9 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.09992, allocations: 37.36 kB / 465.9 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1001, allocations: 59.83 kB / 466 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.1009, allocations: 0.6372 MB / 466.6 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1009, allocations: 7.922 kB / 466.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.101, allocations: 27.98 kB / 466.7 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.1011, allocations: 32.92 kB / 466.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.1018, allocations: 483.5 kB / 467.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1043, allocations: 3.022 MB / 470.2 MB, free: 0 / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1046, allocations: 185.1 kB / 470.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1048, allocations: 101.7 kB / 470.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.1049, allocations: 4.344 kB / 470.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1049, allocations: 34.56 kB / 470.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.1049, allocations: 0 / 470.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001461/0.1064, allocations: 0.8443 MB / 471.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1064, allocations: 81.11 kB / 471.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.1068, allocations: 345.5 kB / 471.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1068, allocations: 29.7 kB / 471.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.107, allocations: 306.9 kB / 472.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.1071, allocations: 75 kB / 472.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1072, allocations: 94.06 kB / 472.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1073, allocations: 342.8 kB / 472.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1075, allocations: 124.8 kB / 472.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1078, allocations: 330.8 kB / 473 MB, free: 12.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.1084, allocations: 0.4903 MB / 473.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1084, allocations: 7.875 kB / 473.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009107/0.1093, allocations: 0.5638 MB / 474.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1093, allocations: 8 kB / 474.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005213/0.1099, allocations: 276.4 kB / 474.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.1102, allocations: 80.78 kB / 474.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1106, allocations: 96.27 kB / 474.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.112, allocations: 1.601 MB / 476.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1123, allocations: 24.06 kB / 476.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1123, allocations: 31.97 kB / 476.2 MB, free: 9.492 MB / 330.7 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.0002189/0.1126, allocations: 209.5 kB / 476.4 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1126, allocations: 35.61 kB / 476.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.1131, allocations: 288.6 kB / 476.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1131, allocations: 8 kB / 476.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1131, allocations: 0 / 476.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1131, allocations: 3.984 kB / 476.7 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1142, allocations: 0.7926 MB / 477.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1143, allocations: 0 / 477.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1145, allocations: 55.91 kB / 477.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1146, allocations: 4.062 kB / 477.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.1146, allocations: 8 kB / 477.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1146, allocations: 4 kB / 477.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1146, allocations: 0 / 477.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.1171, allocations: 2.181 MB / 479.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.1172, allocations: 108.7 kB / 479.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1172, allocations: 11.97 kB / 479.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1174, allocations: 12 kB / 479.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1174, allocations: 15.92 kB / 479.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1174, allocations: 11.98 kB / 479.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1177, allocations: 235.2 kB / 480.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1177, allocations: 0 / 480.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005321/0.1182, allocations: 120 kB / 480.3 MB, free: 5.156 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0001042/0.1183, allocations: 103.2 kB / 480.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.119, allocations: 451.8 kB / 480.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.119, allocations: 4 kB / 480.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1192, allocations: 108.2 kB / 480.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1196, allocations: 57.41 kB / 481 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1212, allocations: 1.378 MB / 482.4 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.1216, allocations: 0.8704 MB / 483.3 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.122, allocations: 119.2 kB / 483.4 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.1221, allocations: 31.44 kB / 483.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1221, allocations: 0 / 483.4 MB, free: 1.957 MB / 330.7 MB Notification: Performance of Templates: time 0.006956/0.129, allocations: 3.92 MB / 487.3 MB, free: 14.03 MB / 346.7 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)