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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 111.3 kB / 17.28 MB, free: 6.199 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.002932/0.002933, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.717/2.717, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3261/0.3261, allocations: 38.02 MB / 330 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 57.81 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.165, allocations: 58.07 MB / 457 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.01184/0.177, allocations: 5.205 MB / 462.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.1822, allocations: 1.733 MB / 463.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.1829, allocations: 27.81 kB / 464 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.1843, allocations: 265 kB / 464.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1854, allocations: 243 kB / 464.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1865, allocations: 239.6 kB / 464.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.1877, allocations: 0.6117 MB / 465.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.1885, allocations: 268.2 kB / 465.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006666/0.1892, allocations: 266.9 kB / 465.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009146/0.1901, allocations: 350.8 kB / 466.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1903, allocations: 40 kB / 466.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.1908, allocations: 143.8 kB / 466.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.1912, allocations: 219.5 kB / 466.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.1916, allocations: 246.7 kB / 466.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.1924, allocations: 470.9 kB / 467.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.1924, allocations: 4 kB / 467.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1925, allocations: 0 / 467.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1925, allocations: 0 / 467.3 MB, free: 14.1 MB / 350.1 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.0022/0.1947, allocations: 0.7621 MB / 468 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.1948, allocations: 11.89 kB / 468 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.1958, allocations: 92.22 kB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/0.1968, allocations: 396 kB / 468.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.1968, allocations: 29.38 kB / 468.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.1971, allocations: 52.11 kB / 468.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.1986, allocations: 0.6716 MB / 469.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1986, allocations: 7.875 kB / 469.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/0.1987, allocations: 20 kB / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.1989, allocations: 44.97 kB / 469.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2002, allocations: 491.5 kB / 469.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.2059, allocations: 3.152 MB / 473 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.2067, allocations: 253.3 kB / 473.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.207, allocations: 113.7 kB / 473.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/0.2071, allocations: 15.91 kB / 473.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.471e-05/0.2072, allocations: 38.5 kB / 473.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/0.2072, allocations: 4 kB / 473.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002468/0.2097, allocations: 0.8854 MB / 474.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.2098, allocations: 77.11 kB / 474.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.2103, allocations: 336.4 kB / 474.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.2104, allocations: 25.7 kB / 474.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.2107, allocations: 295 kB / 475 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2108, allocations: 90.88 kB / 475.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.2111, allocations: 86.03 kB / 475.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.2113, allocations: 354.7 kB / 475.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.2117, allocations: 128.8 kB / 475.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.2122, allocations: 325.1 kB / 476 MB, free: 4.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2133, allocations: 0.501 MB / 476.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.2133, allocations: 4 kB / 476.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001744/0.2151, allocations: 0.5925 MB / 477 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.2151, allocations: 8 kB / 477.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001041/0.2162, allocations: 329.3 kB / 477.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008233/0.217, allocations: 113.6 kB / 477.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.2175, allocations: 91.89 kB / 477.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.2226, allocations: 3.281 MB / 480.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.2231, allocations: 23.92 kB / 480.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.2232, allocations: 24 kB / 480.9 MB, free: 15.5 MB / 366.1 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.0004995/0.2237, allocations: 213.7 kB / 481.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2239, allocations: 31.62 kB / 481.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/0.2248, allocations: 312.9 kB / 481.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2248, allocations: 4 kB / 481.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2249, allocations: 7.922 kB / 481.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2249, allocations: 0 / 481.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.2268, allocations: 0.8043 MB / 482.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2269, allocations: 0 / 482.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.2274, allocations: 59.91 kB / 482.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.2274, allocations: 7.938 kB / 482.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.2275, allocations: 11.98 kB / 482.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2275, allocations: 0 / 482.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.2275, allocations: 4 kB / 482.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2287, allocations: 0.4992 MB / 482.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.2289, allocations: 132.8 kB / 483 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.229, allocations: 8 kB / 483 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2294, allocations: 11.98 kB / 483 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2295, allocations: 15.97 kB / 483 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.2296, allocations: 20 kB / 483 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004664/0.23, allocations: 223 kB / 483.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.23, allocations: 0 / 483.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001004/0.2311, allocations: 92 kB / 483.3 MB, free: 12.94 MB / 366.1 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.0003072/0.2314, allocations: 103.2 kB / 483.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.2337, allocations: 0.6187 MB / 484.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2338, allocations: 0 / 484.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.2341, allocations: 131.4 kB / 484.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.235, allocations: 79.7 kB / 484.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.2384, allocations: 1.24 MB / 485.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.2395, allocations: 0.866 MB / 486.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.2397, allocations: 31.44 kB / 486.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2397, allocations: 0 / 486.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of Templates: time 0.01944/0.2592, allocations: 6.514 MB / 492.9 MB, free: 3.273 MB / 366.1 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)