Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001074/0.001074, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001201/0.001201, allocations: 167.6 kB / 25.61 MB, free: 8.582 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.9658/0.9658, allocations: 177.1 MB / 206 MB, free: 4.508 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.1178/0.1178, allocations: 29.41 MB / 292 MB, free: 2.645 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.294e-05, allocations: 2.938 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.003375/0.003388, allocations: 4.516 MB / 375.4 MB, free: 27.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004789, allocations: 1.278 MB / 376.7 MB, free: 26.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.004972, allocations: 23.75 kB / 376.7 MB, free: 26.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.005338, allocations: 123 kB / 376.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.005806, allocations: 338.1 kB / 377.1 MB, free: 26.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.006164, allocations: 167.6 kB / 377.3 MB, free: 25.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.006592, allocations: 0.6929 MB / 378 MB, free: 25.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.006751, allocations: 108.6 kB / 378.1 MB, free: 25.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.007212, allocations: 474.8 kB / 378.6 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.007542, allocations: 383 kB / 378.9 MB, free: 24.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.00759, allocations: 36 kB / 379 MB, free: 24.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.00765, allocations: 40 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.007783, allocations: 235.4 kB / 379.2 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.007907, allocations: 191.6 kB / 379.4 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.008186, allocations: 438.5 kB / 379.9 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.008188, allocations: 0 / 379.9 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.008188, allocations: 7.938 kB / 379.9 MB, free: 23.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.008194, allocations: 0 / 379.9 MB, free: 23.31 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0007704/0.008965, allocations: 0.8586 MB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.008993, allocations: 8.031 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.009075, allocations: 80.61 kB / 380.8 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.009472, allocations: 441.6 kB / 381.2 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.009487, allocations: 25.03 kB / 381.3 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.009536, allocations: 47.88 kB / 381.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.009805, allocations: 354.7 kB / 381.7 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009816, allocations: 4 kB / 381.7 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.009838, allocations: 8 kB / 381.7 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.009955, allocations: 32.64 kB / 381.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.01009, allocations: 120.3 kB / 381.8 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.01115, allocations: 1.804 MB / 383.6 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.01147, allocations: 205.7 kB / 383.8 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.01166, allocations: 163.3 kB / 384 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01168, allocations: 8 kB / 384 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.0117, allocations: 33.39 kB / 384 MB, free: 18.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.0117, allocations: 0 / 384 MB, free: 18.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001471/0.01317, allocations: 0.9471 MB / 385 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.01319, allocations: 81.11 kB / 385.1 MB, free: 17.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01334, allocations: 410.4 kB / 385.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01336, allocations: 33.7 kB / 385.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.01345, allocations: 319.3 kB / 385.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.01351, allocations: 154.8 kB / 386 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.0136, allocations: 107.8 kB / 386.1 MB, free: 16.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.01367, allocations: 0.5352 MB / 386.6 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.01374, allocations: 48.95 kB / 386.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.01385, allocations: 224.6 kB / 386.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01406, allocations: 305.1 kB / 387.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01407, allocations: 4 kB / 387.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005076/0.01457, allocations: 459.6 kB / 387.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.01458, allocations: 4 kB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01459, allocations: 4.438 kB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.01495, allocations: 159.1 kB / 387.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.0151, allocations: 83.89 kB / 387.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.01668, allocations: 4.354 MB / 392.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.0168, allocations: 12 kB / 392.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01682, allocations: 16 kB / 392.2 MB, free: 10.22 MB / 314.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 (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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.01691, allocations: 184.6 kB / 392.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.01696, allocations: 55.72 kB / 392.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.01745, allocations: 432.5 kB / 392.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.01745, allocations: 4 kB / 392.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01745, allocations: 4 kB / 392.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01746, allocations: 7.969 kB / 392.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.01818, allocations: 0.7874 MB / 393.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01818, allocations: 0 / 393.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.01827, allocations: 36.11 kB / 393.7 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.01877, allocations: 253.4 kB / 394 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.0188, allocations: 39.91 kB / 394 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.02054, allocations: 6.994 MB / 401 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02054, allocations: 0 / 401 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.02111, allocations: 0.6491 MB / 401.7 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.02114, allocations: 43.7 kB / 401.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.02118, allocations: 28.08 kB / 401.7 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.0213, allocations: 8 kB / 401.7 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.02135, allocations: 39.86 kB / 401.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.02137, allocations: 11.98 kB / 401.8 MB, free: 4 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.02152, allocations: 251 kB / 402 MB, free: 15.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02152, allocations: 0 / 402 MB, free: 15.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000403/0.02192, allocations: 156 kB / 402.2 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000131/0.02205, allocations: 123.1 kB / 402.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.02273, allocations: 0.6442 MB / 402.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.02273, allocations: 0 / 402.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.02338, allocations: 0.897 MB / 403.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.0238, allocations: 115.9 kB / 404 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.02572, allocations: 1.331 MB / 405.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.02582, allocations: 145.7 kB / 405.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.02594, allocations: 52.36 kB / 405.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.02611, allocations: 170.1 kB / 405.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02611, allocations: 0 / 405.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01025/0.03636, allocations: 8.637 MB / 414.3 MB, free: 3.449 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3137784493155777]