Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 110.8 kB / 17.29 MB, free: 6.203 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.001861/0.001862, allocations: 197.3 kB / 18.21 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.128/2.128, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2931/0.2931, allocations: 38.02 MB / 330 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.69 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1972, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.01045/0.2077, allocations: 4.991 MB / 462 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2112, allocations: 1.118 MB / 463.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006091/0.2118, allocations: 27.81 kB / 463.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.2122, allocations: 39.69 kB / 463.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.2133, allocations: 223.1 kB / 463.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2138, allocations: 87.84 kB / 463.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009387/0.2148, allocations: 0.4945 MB / 464 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.2152, allocations: 147.9 kB / 464.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.2157, allocations: 231 kB / 464.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006261/0.2163, allocations: 275.1 kB / 464.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.2164, allocations: 28 kB / 464.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.2165, allocations: 24 kB / 464.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.2168, allocations: 151.6 kB / 464.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.2171, allocations: 175.1 kB / 465 MB, free: 400 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.2176, allocations: 283.3 kB / 465.3 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2176, allocations: 0 / 465.3 MB, free: 116 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2176, allocations: 0 / 465.3 MB, free: 116 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2176, allocations: 0 / 465.3 MB, free: 116 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001844/0.2195, allocations: 0.6633 MB / 465.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.2195, allocations: 19.83 kB / 465.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.2197, allocations: 36.47 kB / 466 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.2205, allocations: 355.8 kB / 466.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.2205, allocations: 24.62 kB / 466.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.2206, allocations: 27.94 kB / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.2215, allocations: 356.8 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.2215, allocations: 3.938 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.2216, allocations: 12 kB / 466.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.2217, allocations: 24.53 kB / 466.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.2224, allocations: 242 kB / 467 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.2251, allocations: 1.378 MB / 468.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.2258, allocations: 161.1 kB / 468.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.2261, allocations: 97.72 kB / 468.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.2262, allocations: 19.92 kB / 468.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/0.2263, allocations: 30.56 kB / 468.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.2263, allocations: 0 / 468.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002359/0.2286, allocations: 0.7703 MB / 469.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.2288, allocations: 77.11 kB / 469.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.2293, allocations: 300.4 kB / 469.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.2293, allocations: 29.7 kB / 469.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.2296, allocations: 215.5 kB / 470.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.2297, allocations: 51.34 kB / 470.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2298, allocations: 53.61 kB / 470.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.2301, allocations: 342.8 kB / 470.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2303, allocations: 68 kB / 470.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.2306, allocations: 160.8 kB / 470.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.2311, allocations: 260.5 kB / 471 MB, free: 9.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2311, allocations: 0 / 471 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007554/0.2319, allocations: 317.8 kB / 471.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.2319, allocations: 4 kB / 471.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2319, allocations: 4 kB / 471.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.2322, allocations: 53.25 kB / 471.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.2325, allocations: 55.92 kB / 471.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2347, allocations: 1.605 MB / 473 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.235, allocations: 11.91 kB / 473 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.2351, allocations: 8 kB / 473 MB, free: 7.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.2354, allocations: 185.6 kB / 473.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.2355, allocations: 27.81 kB / 473.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.2361, allocations: 239.3 kB / 473.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2361, allocations: 4 kB / 473.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2361, allocations: 0 / 473.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2361, allocations: 0 / 473.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.2375, allocations: 0.6404 MB / 474.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2375, allocations: 8.031 kB / 474.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2377, allocations: 19.94 kB / 474.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.238, allocations: 60.78 kB / 474.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.238, allocations: 4 kB / 474.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.2401, allocations: 1.613 MB / 475.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2401, allocations: 4.031 kB / 475.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.241, allocations: 405.6 kB / 476.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2411, allocations: 104.8 kB / 476.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.2412, allocations: 11.98 kB / 476.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.2414, allocations: 8 kB / 476.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2415, allocations: 7.984 kB / 476.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2415, allocations: 8.062 kB / 476.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003367/0.2418, allocations: 215 kB / 476.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2419, allocations: 0 / 476.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006316/0.2425, allocations: 68 kB / 476.6 MB, free: 3.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.2427, allocations: 103.2 kB / 476.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.2436, allocations: 314.8 kB / 477 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2436, allocations: 4 kB / 477 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.2441, allocations: 198.6 kB / 477.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.2448, allocations: 67.77 kB / 477.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2469, allocations: 0.8904 MB / 478.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.2476, allocations: 0.8065 MB / 479 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.2477, allocations: 31.42 kB / 479 MB, free: 1.363 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2477, allocations: 0 / 479 MB, free: 1.363 MB / 350.1 MB Notification: Performance of Templates: time 0.01201/0.2597, allocations: 4.852 MB / 483.9 MB, free: 12.52 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)