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.0007888/0.0007889, allocations: 91.58 kB / 16.65 MB, free: 6.598 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.000996/0.0009963, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.54/1.54, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1719/0.1719, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.0005239/0.0005239, allocations: 20 kB / 377.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 56.34 MB / 433.5 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004693/0.2482, allocations: 4.822 MB / 438.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2504, allocations: 1.695 MB / 440 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.2506, allocations: 23.81 kB / 440 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.2508, allocations: 55.61 kB / 440.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.2513, allocations: 215 kB / 440.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.2517, allocations: 235.5 kB / 440.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.2523, allocations: 0.838 MB / 441.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007439/0.253, allocations: 0.5884 MB / 442 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.2533, allocations: 203 kB / 442.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.2537, allocations: 310.9 kB / 442.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.2537, allocations: 24 kB / 442.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2539, allocations: 143.7 kB / 442.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2541, allocations: 199.5 kB / 442.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.2543, allocations: 248.5 kB / 443.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.2546, allocations: 0.5683 MB / 443.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2547, allocations: 4 kB / 443.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2547, allocations: 0 / 443.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2547, allocations: 0 / 443.6 MB, free: 8.434 MB / 318.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.0009491/0.2556, allocations: 0.6841 MB / 444.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2557, allocations: 8.031 kB / 444.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.2562, allocations: 96.2 kB / 444.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.2567, allocations: 396.1 kB / 444.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2567, allocations: 29.38 kB / 444.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.2568, allocations: 52.11 kB / 444.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.2575, allocations: 0.6489 MB / 445.5 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.2575, allocations: 7.844 kB / 445.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.2576, allocations: 20 kB / 445.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/0.2577, allocations: 32.98 kB / 445.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.2583, allocations: 479.5 kB / 446.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.2606, allocations: 3.007 MB / 449.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2609, allocations: 197.5 kB / 449.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.261, allocations: 109.6 kB / 449.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2611, allocations: 7.969 kB / 449.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2611, allocations: 34.56 kB / 449.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.744e-06/0.2611, allocations: 0 / 449.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001199/0.2623, allocations: 0.847 MB / 450.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2623, allocations: 77.11 kB / 450.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.2626, allocations: 345.5 kB / 450.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2626, allocations: 29.7 kB / 450.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2628, allocations: 306.9 kB / 451 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.2628, allocations: 78.98 kB / 451.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.2629, allocations: 37.7 kB / 451.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.263, allocations: 346.8 kB / 451.5 MB, free: 164 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2631, allocations: 132.8 kB / 451.6 MB, free: 32 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.2635, allocations: 322.9 kB / 451.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.2641, allocations: 0.5018 MB / 452.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2641, allocations: 0 / 452.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009439/0.265, allocations: 0.5566 MB / 453 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2651, allocations: 8 kB / 453 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004909/0.2656, allocations: 276.4 kB / 453.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.2659, allocations: 80.78 kB / 453.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.2662, allocations: 95.83 kB / 453.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.2678, allocations: 1.608 MB / 455 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.2681, allocations: 23.94 kB / 455 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2681, allocations: 23.97 kB / 455.1 MB, free: 12.2 MB / 334.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.0002371/0.2683, allocations: 221.6 kB / 455.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.2684, allocations: 31.62 kB / 455.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.2689, allocations: 292.8 kB / 455.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2689, allocations: 4 kB / 455.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2689, allocations: 0 / 455.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2689, allocations: 0 / 455.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.27, allocations: 0.8003 MB / 456.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.27, allocations: 0 / 456.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2703, allocations: 55.95 kB / 456.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2703, allocations: 0 / 456.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2703, allocations: 11.94 kB / 456.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2703, allocations: 0 / 456.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2704, allocations: 12 kB / 456.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.2709, allocations: 473.3 kB / 456.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.271, allocations: 108.6 kB / 457.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.2711, allocations: 8 kB / 457.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.2713, allocations: 15.97 kB / 457.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.2713, allocations: 19.92 kB / 457.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2713, allocations: 7.984 kB / 457.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.2716, allocations: 235.2 kB / 457.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.2716, allocations: 0 / 457.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.272, allocations: 95.94 kB / 457.4 MB, free: 9.719 MB / 334.1 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.0001045/0.2721, allocations: 99.25 kB / 457.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.2728, allocations: 439.9 kB / 458 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2728, allocations: 0 / 458 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.273, allocations: 116.2 kB / 458.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.2735, allocations: 70.77 kB / 458.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2749, allocations: 1.234 MB / 459.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.2754, allocations: 0.8743 MB / 460.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.2757, allocations: 115.2 kB / 460.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.2758, allocations: 27.44 kB / 460.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of SimCode: time 2.295e-06/0.2758, allocations: 0 / 460.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of Templates: time 0.006688/0.2825, allocations: 3.344 MB / 463.7 MB, free: 3.352 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: