Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.002329/0.002329, allocations: 193.3 kB / 18.21 MB, free: 5.266 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.549/2.549, 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.3955/0.3955, allocations: 38.03 MB / 330.1 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 66.7 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2136, allocations: 58.06 MB / 457 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.009081/0.2227, allocations: 4.706 MB / 461.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2256, allocations: 1.095 MB / 462.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.2261, allocations: 27.81 kB / 462.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.2264, allocations: 39.7 kB / 462.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008092/0.2272, allocations: 163.3 kB / 463 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2276, allocations: 75.86 kB / 463.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.2282, allocations: 406.4 kB / 463.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2286, allocations: 122.2 kB / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.229, allocations: 171.3 kB / 463.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.2295, allocations: 195.2 kB / 464 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2295, allocations: 20 kB / 464 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.2296, allocations: 20 kB / 464 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.2298, allocations: 87.72 kB / 464.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.2301, allocations: 151.2 kB / 464.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.2305, allocations: 203.5 kB / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2305, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2305, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2305, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001442/0.232, allocations: 0.5932 MB / 465 MB, free: 300 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.2321, allocations: 15.89 kB / 465.1 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2322, allocations: 40.55 kB / 465.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.2329, allocations: 319 kB / 465.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2329, allocations: 16.56 kB / 465.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.233, allocations: 24 kB / 465.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.2337, allocations: 294.8 kB / 465.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2337, allocations: 3.938 kB / 465.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.2338, allocations: 12 kB / 465.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2338, allocations: 8 kB / 465.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.2343, allocations: 177 kB / 465.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.2366, allocations: 1.228 MB / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.2371, allocations: 117.1 kB / 467.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2373, allocations: 45.77 kB / 467.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2373, allocations: 0 / 467.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.2374, allocations: 38.5 kB / 467.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2374, allocations: 0 / 467.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001249/0.2386, allocations: 489 kB / 467.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.2387, allocations: 81.11 kB / 467.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.2391, allocations: 246.7 kB / 468.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2391, allocations: 25.7 kB / 468.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.2394, allocations: 199.6 kB / 468.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.2395, allocations: 39.45 kB / 468.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2396, allocations: 49.73 kB / 468.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.2399, allocations: 334.8 kB / 468.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2401, allocations: 35.97 kB / 468.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2403, allocations: 139.6 kB / 469 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.2406, allocations: 184.7 kB / 469.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2406, allocations: 0 / 469.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005476/0.2412, allocations: 209 kB / 469.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.2412, allocations: 8 kB / 469.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2412, allocations: 4.438 kB / 469.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.2413, allocations: 8 kB / 469.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2415, allocations: 47.91 kB / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.2416, allocations: 7.984 kB / 469.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2417, allocations: 11.94 kB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2418, allocations: 8 kB / 469.4 MB, free: 11.49 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.2421, allocations: 153.7 kB / 469.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.2422, allocations: 19.72 kB / 469.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.2425, allocations: 139.2 kB / 469.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.2426, allocations: 4 kB / 469.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.2426, allocations: 8.172 kB / 469.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2426, allocations: 3.938 kB / 469.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.2434, allocations: 486.6 kB / 470.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2434, allocations: 4 kB / 470.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.2436, allocations: 16 kB / 470.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.2436, allocations: 4 kB / 470.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2437, allocations: 3.938 kB / 470.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.2437, allocations: 8.016 kB / 470.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.2437, allocations: 8 kB / 470.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.2442, allocations: 276.9 kB / 470.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.2443, allocations: 92.86 kB / 470.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.2444, allocations: 11.92 kB / 470.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2445, allocations: 4 kB / 470.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2446, allocations: 12.05 kB / 470.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2446, allocations: 4 kB / 470.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.2448, allocations: 178 kB / 470.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2448, allocations: 0 / 470.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.2453, allocations: 44 kB / 470.9 MB, free: 9.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0001643/0.2455, allocations: 99.19 kB / 471 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2459, allocations: 120 kB / 471.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2459, allocations: 4 kB / 471.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.246, allocations: 43.92 kB / 471.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.2467, allocations: 51.45 kB / 471.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.2484, allocations: 0.6755 MB / 471.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.249, allocations: 0.7753 MB / 472.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.249, allocations: 19.44 kB / 472.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2491, allocations: 0 / 472.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Templates: time 0.008279/0.2573, allocations: 2.943 MB / 475.6 MB, free: 5.137 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)