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.0008612/0.0008612, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004659/0.004659, allocations: 160.6 kB / 24.7 MB, free: 9.43 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 0.8756/0.8756, allocations: 177.1 MB / 205 MB, free: 5.73 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.2375/0.2375, allocations: 29.41 MB / 290.8 MB, free: 2.414 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=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.093e-05/4.378e-05, allocations: 6.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006462/0.006506, allocations: 3.999 MB / 435.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.008457, allocations: 0.8843 MB / 436.4 MB, free: 8.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.008718, allocations: 11.88 kB / 436.4 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.008949, allocations: 55.5 kB / 436.4 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007465/0.009695, allocations: 182.8 kB / 436.6 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.01001, allocations: 103.7 kB / 436.7 MB, free: 7.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000602/0.01061, allocations: 410.3 kB / 437.1 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.01087, allocations: 74.69 kB / 437.2 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.01149, allocations: 243.3 kB / 437.4 MB, free: 7.102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.01189, allocations: 167.5 kB / 437.6 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.01194, allocations: 16 kB / 437.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.012, allocations: 24 kB / 437.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.01213, allocations: 95.66 kB / 437.7 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.01225, allocations: 91.77 kB / 437.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.01268, allocations: 287 kB / 438.1 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.01269, allocations: 3.938 kB / 438.1 MB, free: 6.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.01269, allocations: 4 kB / 438.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.0127, allocations: 0 / 438.1 MB, free: 6.426 MB / 410.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.001039/0.01374, allocations: 0.5256 MB / 438.6 MB, free: 5.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.01378, allocations: 11.98 kB / 438.6 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.01387, allocations: 36.7 kB / 438.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.01439, allocations: 283.6 kB / 438.9 MB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.01441, allocations: 16.88 kB / 439 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.01445, allocations: 16.38 kB / 439 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.01487, allocations: 299.7 kB / 439.3 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01488, allocations: 4 kB / 439.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.01491, allocations: 4 kB / 439.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01492, allocations: 11.98 kB / 439.3 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.01526, allocations: 180.9 kB / 439.5 MB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.01664, allocations: 1.105 MB / 440.6 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.01696, allocations: 109.2 kB / 440.7 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.01704, allocations: 49.7 kB / 440.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01706, allocations: 0 / 440.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.01709, allocations: 34.56 kB / 440.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.926e-06/0.01709, allocations: 8 kB / 440.8 MB, free: 3.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008473/0.01794, allocations: 416.1 kB / 441.2 MB, free: 3.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.018, allocations: 81.05 kB / 441.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.01823, allocations: 253.8 kB / 441.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01825, allocations: 25.7 kB / 441.5 MB, free: 2.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01837, allocations: 196.1 kB / 441.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.01841, allocations: 43.67 kB / 441.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.01847, allocations: 45.66 kB / 441.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01858, allocations: 338.8 kB / 442.1 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.01866, allocations: 35.97 kB / 442.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01878, allocations: 135.8 kB / 442.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.01901, allocations: 196.5 kB / 442.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01901, allocations: 0 / 442.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003167/0.01932, allocations: 206.3 kB / 442.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.01935, allocations: 8.781 kB / 442.7 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.01936, allocations: 4 kB / 442.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01938, allocations: 4 kB / 442.7 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01955, allocations: 47.92 kB / 442.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.01956, allocations: 12.02 kB / 442.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01967, allocations: 11.94 kB / 442.8 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.01969, allocations: 11.94 kB / 442.8 MB, free: 1.355 MB / 410.7 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.000136/0.01982, allocations: 153.7 kB / 442.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.01987, allocations: 19.95 kB / 443 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.02011, allocations: 135.4 kB / 443.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.02011, allocations: 0 / 443.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.02012, allocations: 8 kB / 443.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02013, allocations: 0 / 443.1 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.02061, allocations: 402.8 kB / 443.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02061, allocations: 0 / 443.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.02073, allocations: 23.98 kB / 443.5 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.02073, allocations: 0 / 443.5 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.02074, allocations: 8 kB / 443.5 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.02075, allocations: 3.938 kB / 443.5 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02075, allocations: 4.031 kB / 443.5 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.02107, allocations: 275.7 kB / 443.8 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.0211, allocations: 23.88 kB / 443.8 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.02113, allocations: 4 kB / 443.8 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.02121, allocations: 0 / 443.8 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.02124, allocations: 7.984 kB / 443.8 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.02125, allocations: 8 kB / 443.8 MB, free: 228 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.02139, allocations: 173.2 kB / 444 MB, free: 52 kB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02139, allocations: 0 / 444 MB, free: 52 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.02173, allocations: 47.94 kB / 444.1 MB, free: 4 kB / 410.7 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.165/0.1868, allocations: 106.9 kB / 444.2 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.187, allocations: 108.4 kB / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.187, allocations: 0 / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.1871, allocations: 43.72 kB / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1875, allocations: 58.12 kB / 444.4 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.1882, allocations: 0.5327 MB / 444.9 MB, free: 54.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.989e-05/0.1883, allocations: 165.3 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.1884, allocations: 20.69 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1884, allocations: 3.031 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of Templates: time 0.003199/0.1916, allocations: 3.105 MB / 448.2 MB, free: 53.88 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.829198160208762] Failed to read output from testmodel.py, exit status != 0: 0.19827908370643854 0.203170605 0.188959959 Calling exit ...