Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001797/0.001797, allocations: 81.8 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001468/0.001468, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.181/0.181, allocations: 29.43 MB / 290.1 MB, free: 3.293 MB / 270.1 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.683e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006312/0.006349, allocations: 4.014 MB / 434.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.008007, allocations: 0.8256 MB / 435.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.0082, allocations: 15.88 kB / 435.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.008429, allocations: 43.58 kB / 435.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.008958, allocations: 178.8 kB / 435.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.009186, allocations: 83.81 kB / 435.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.009687, allocations: 410.4 kB / 436.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.009888, allocations: 70.69 kB / 436.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.01035, allocations: 255.2 kB / 436.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.01067, allocations: 159.5 kB / 436.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.01072, allocations: 20 kB / 436.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.01078, allocations: 24 kB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.0109, allocations: 87.72 kB / 436.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01105, allocations: 91.77 kB / 437 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.01147, allocations: 291 kB / 437.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.01147, allocations: 0 / 437.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01147, allocations: 4 kB / 437.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01148, allocations: 0 / 437.3 MB, free: 11.36 MB / 366.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.001116/0.01259, allocations: 0.5294 MB / 437.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.01265, allocations: 11.98 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.01275, allocations: 36.75 kB / 437.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.01339, allocations: 273.1 kB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.01342, allocations: 16.88 kB / 438.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.01357, allocations: 28.75 kB / 438.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.0141, allocations: 302.9 kB / 438.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01411, allocations: 0 / 438.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.01414, allocations: 15.94 kB / 438.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01415, allocations: 8 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.01451, allocations: 187.5 kB / 438.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.0162, allocations: 1.149 MB / 439.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.01651, allocations: 123.8 kB / 439.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.01661, allocations: 46.62 kB / 440 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01663, allocations: 3.938 kB / 440 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.01667, allocations: 38.55 kB / 440 MB, free: 8.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.01668, allocations: 0 / 440 MB, free: 8.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009476/0.01762, allocations: 464 kB / 440.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.01771, allocations: 110.8 kB / 440.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.01796, allocations: 245.9 kB / 440.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01798, allocations: 25.7 kB / 440.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.01813, allocations: 200 kB / 441 MB, free: 7.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.01817, allocations: 47.61 kB / 441.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.01825, allocations: 45.66 kB / 441.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.0184, allocations: 334.8 kB / 441.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.01849, allocations: 43.92 kB / 441.5 MB, free: 6.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.01865, allocations: 130.8 kB / 441.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.01891, allocations: 191.7 kB / 441.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01892, allocations: 3.984 kB / 441.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004537/0.01937, allocations: 226 kB / 442 MB, free: 6.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01939, allocations: 8 kB / 442 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01939, allocations: 4 kB / 442 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.01953, allocations: 29.25 kB / 442.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.01987, allocations: 67.88 kB / 442.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.01988, allocations: 7.938 kB / 442.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.02001, allocations: 8 kB / 442.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.02003, allocations: 11.94 kB / 442.2 MB, free: 6.066 MB / 366.1 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.0202, allocations: 149.7 kB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.02027, allocations: 23.86 kB / 442.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.02056, allocations: 147.3 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.02056, allocations: 0 / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.02057, allocations: 4 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.02057, allocations: 4 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.02092, allocations: 197.2 kB / 442.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02092, allocations: 7.938 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.0211, allocations: 31.97 kB / 442.7 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.02111, allocations: 4 kB / 442.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.02112, allocations: 4 kB / 442.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.02112, allocations: 3.938 kB / 442.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.02113, allocations: 4 kB / 442.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.02156, allocations: 359.5 kB / 443.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.02161, allocations: 27.95 kB / 443.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.02164, allocations: 3.938 kB / 443.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.02179, allocations: 7.984 kB / 443.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.02182, allocations: 11.98 kB / 443.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.02183, allocations: 4 kB / 443.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.022, allocations: 169.2 kB / 443.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.022, allocations: 0 / 443.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.02236, allocations: 48 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001322/0.02249, allocations: 111.1 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.02284, allocations: 132.6 kB / 443.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02284, allocations: 0 / 443.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.02294, allocations: 43.92 kB / 443.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.02347, allocations: 50.55 kB / 443.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.02446, allocations: 0.5438 MB / 444.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.02463, allocations: 154.8 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.812e-05/0.02473, allocations: 30.28 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.0248, allocations: 24.5 kB / 444.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.0248, allocations: 0 / 444.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of Templates: time 0.00659/0.03139, allocations: 2.262 MB / 446.7 MB, free: 1.449 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8233498856425285] Failed to read output from testmodel.py, exit status != 0: 0.23575206100940704 0.248020488 0.23379766000000002 Calling exit ...