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.0009066/0.0009066, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002239, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009867/0.0009867, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002256, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9291/0.9291, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07864/1.008, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1147/0.1147, allocations: 29.44 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1244/0.239, allocations: 9.522 MB / 283.1 MB, free: 12.81 MB / 282.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.343e-06/1.343e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.639e-05, allocations: 2.312 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005374/0.00539, allocations: 4.011 MB / 288.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.007085, allocations: 0.9331 MB / 289.4 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.007309, allocations: 19.03 kB / 289.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.007452, allocations: 47.69 kB / 289.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.007916, allocations: 183 kB / 289.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.008149, allocations: 88.16 kB / 289.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.008647, allocations: 412.5 kB / 290.1 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.008847, allocations: 82.11 kB / 290.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.009404, allocations: 307 kB / 290.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.009669, allocations: 136.2 kB / 290.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.009716, allocations: 17.88 kB / 290.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.009769, allocations: 19.25 kB / 290.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.009872, allocations: 78.52 kB / 290.7 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.00998, allocations: 77.81 kB / 290.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.01029, allocations: 199.4 kB / 291 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.0103, allocations: 0 / 291 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.0103, allocations: 0 / 291 MB, free: 6.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01031, allocations: 0 / 291 MB, free: 6.988 MB / 282.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.0008787/0.01119, allocations: 0.5397 MB / 291.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.01122, allocations: 9.625 kB / 291.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.01127, allocations: 38.81 kB / 291.6 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01156, allocations: 269.8 kB / 291.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.01157, allocations: 14.34 kB / 291.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.01161, allocations: 29.72 kB / 291.9 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.01182, allocations: 211.4 kB / 292.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.01183, allocations: 0 / 292.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.01184, allocations: 10.19 kB / 292.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01185, allocations: 6.469 kB / 292.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.01194, allocations: 71.45 kB / 292.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.01273, allocations: 1.017 MB / 293.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.01289, allocations: 88.47 kB / 293.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.01292, allocations: 23.31 kB / 293.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.01293, allocations: 2.906 kB / 293.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.01296, allocations: 41.17 kB / 293.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.01296, allocations: 0 / 293.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002201/0.01318, allocations: 117.4 kB / 293.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.01321, allocations: 78.67 kB / 293.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01334, allocations: 238.8 kB / 293.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.01335, allocations: 25.7 kB / 293.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.01343, allocations: 194.8 kB / 294 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.01345, allocations: 41.34 kB / 294 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.01349, allocations: 42.98 kB / 294.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.01357, allocations: 329.1 kB / 294.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.0136, allocations: 14.77 kB / 294.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.01366, allocations: 113.8 kB / 294.5 MB, free: 3.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.01382, allocations: 158.1 kB / 294.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01382, allocations: 2 kB / 294.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001918/0.01401, allocations: 143.1 kB / 294.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01403, allocations: 6.438 kB / 294.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01404, allocations: 2.875 kB / 294.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01405, allocations: 5.562 kB / 294.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01419, allocations: 58.67 kB / 294.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01419, allocations: 8.281 kB / 294.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.01426, allocations: 18.56 kB / 294.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01427, allocations: 10.66 kB / 294.9 MB, free: 3.699 MB / 282.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 7.161e-05/0.01434, allocations: 129.8 kB / 295 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.01437, allocations: 21.5 kB / 295.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.01448, allocations: 85.67 kB / 295.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01448, allocations: 2.062 kB / 295.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01449, allocations: 1.031 kB / 295.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01449, allocations: 5.078 kB / 295.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.01463, allocations: 135 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01463, allocations: 3.984 kB / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.01471, allocations: 28.89 kB / 295.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.01474, allocations: 25.81 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01474, allocations: 6.031 kB / 295.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.01475, allocations: 4 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01475, allocations: 5.938 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01475, allocations: 0 / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.0149, allocations: 196 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01492, allocations: 0 / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.01496, allocations: 8 kB / 295.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.01498, allocations: 3.984 kB / 295.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.01498, allocations: 4 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.542e-05/0.01504, allocations: 82.75 kB / 295.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 4.031 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01521, allocations: 59.84 kB / 295.7 MB, free: 2.988 MB / 282.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.935e-05/0.01528, allocations: 80.36 kB / 295.8 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.01537, allocations: 78.73 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01538, allocations: 7.984 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.01542, allocations: 37.39 kB / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.01581, allocations: 0.4919 MB / 296.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.01921, allocations: 0.5179 MB / 296.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.01927, allocations: 104.2 kB / 297 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.01934, allocations: 34.27 kB / 297.1 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.01944, allocations: 95.33 kB / 297.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01944, allocations: 4 kB / 297.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Templates: time 0.004002/0.02344, allocations: 2.238 MB / 299.4 MB, free: 15.22 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.508992424234748]