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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 170 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2295/0.2295, allocations: 29.42 MB / 291.2 MB, free: 2.488 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.49e-05, allocations: 6.188 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003909/0.003924, allocations: 3.965 MB / 320.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.005177, allocations: 0.9199 MB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.005347, allocations: 15.88 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.00551, allocations: 47.5 kB / 321.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.005899, allocations: 178.9 kB / 322 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.006073, allocations: 95.69 kB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.006396, allocations: 418.4 kB / 322.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.006552, allocations: 80.64 kB / 322.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.006908, allocations: 295.2 kB / 322.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.00708, allocations: 131.7 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.007107, allocations: 16 kB / 323 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.007136, allocations: 20 kB / 323 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.007211, allocations: 99.66 kB / 323.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.007286, allocations: 95.75 kB / 323.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.00748, allocations: 203.2 kB / 323.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.007482, allocations: 0 / 323.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007483, allocations: 0 / 323.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.007487, allocations: 0 / 323.4 MB, free: 9.375 MB / 298.7 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.0005005/0.007987, allocations: 0.4926 MB / 323.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.008017, allocations: 15.92 kB / 323.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.008066, allocations: 32.91 kB / 324 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.008339, allocations: 280.5 kB / 324.2 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.008355, allocations: 16.88 kB / 324.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.008383, allocations: 24.38 kB / 324.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.008571, allocations: 207.7 kB / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.00858, allocations: 0 / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.008596, allocations: 12 kB / 324.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008605, allocations: 8 kB / 324.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.008701, allocations: 72.95 kB / 324.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.009424, allocations: 1.007 MB / 325.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.009594, allocations: 91.75 kB / 325.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.009637, allocations: 29.78 kB / 325.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.00965, allocations: 3.984 kB / 325.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.009676, allocations: 42.48 kB / 325.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.009677, allocations: 0 / 325.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002176/0.009895, allocations: 105.6 kB / 325.8 MB, free: 6.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.009934, allocations: 85.05 kB / 325.9 MB, free: 6.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01007, allocations: 240.9 kB / 326.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.01008, allocations: 25.7 kB / 326.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.01016, allocations: 188.6 kB / 326.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.01018, allocations: 43.67 kB / 326.4 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.01022, allocations: 37.69 kB / 326.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.01031, allocations: 338.8 kB / 326.8 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.01033, allocations: 15.98 kB / 326.8 MB, free: 5.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.01039, allocations: 106.7 kB / 326.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.0105, allocations: 142.6 kB / 327 MB, free: 5.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.0105, allocations: 7.938 kB / 327.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001415/0.01064, allocations: 145.3 kB / 327.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.01066, allocations: 4 kB / 327.2 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01066, allocations: 4 kB / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01067, allocations: 4 kB / 327.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01079, allocations: 47.91 kB / 327.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.0108, allocations: 7.938 kB / 327.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.01086, allocations: 23.84 kB / 327.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01087, allocations: 12.38 kB / 327.3 MB, free: 5.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 23 * 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 6.632e-05/0.01094, allocations: 128.5 kB / 327.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.01096, allocations: 11.98 kB / 327.4 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.01107, allocations: 96.34 kB / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01107, allocations: 0 / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01107, allocations: 0 / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01107, allocations: 0 / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.0112, allocations: 140.5 kB / 327.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0112, allocations: 4 kB / 327.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.01128, allocations: 27.92 kB / 327.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01128, allocations: 4 kB / 327.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-06/0.01129, allocations: 4 kB / 327.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01129, allocations: 7.984 kB / 327.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01129, allocations: 0 / 327.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01143, allocations: 204 kB / 327.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01145, allocations: 23.75 kB / 327.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01147, allocations: 4 kB / 327.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01152, allocations: 4 kB / 327.9 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.01154, allocations: 7.984 kB / 327.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01155, allocations: 0 / 327.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.0116, allocations: 86.75 kB / 328 MB, free: 4.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0116, allocations: 4.031 kB / 328 MB, free: 4.375 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01177, allocations: 51.89 kB / 328.1 MB, free: 4.324 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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 6.09e-05/0.01184, allocations: 80.36 kB / 328.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.01193, allocations: 76.64 kB / 328.2 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.01194, allocations: 8.75 kB / 328.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.01197, allocations: 36.77 kB / 328.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.01219, allocations: 61.11 kB / 328.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.01301, allocations: 0.513 MB / 328.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.579e-05/0.01306, allocations: 96.3 kB / 329 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.01313, allocations: 26.28 kB / 329 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.01322, allocations: 87.36 kB / 329.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01322, allocations: 4 kB / 329.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of Templates: time 0.003775/0.017, allocations: 2.264 MB / 331.3 MB, free: 1.082 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.741587712895125]