Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001367/0.001367, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001494/0.001494, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2163/0.2163, allocations: 29.44 MB / 290.1 MB, free: 3.273 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.783e-05, allocations: 9.172 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006323/0.006351, allocations: 4.288 MB / 435 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.009216, allocations: 1.48 MB / 436.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.009398, allocations: 19.81 kB / 436.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01048, allocations: 278.6 kB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.01114, allocations: 306.3 kB / 437.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.01187, allocations: 255.2 kB / 437.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008328/0.0127, allocations: 0.6194 MB / 437.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.01315, allocations: 203.9 kB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.01386, allocations: 366.9 kB / 438.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.01442, allocations: 363.1 kB / 438.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.0145, allocations: 40 kB / 438.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.01501, allocations: 223.6 kB / 439.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.01528, allocations: 243.4 kB / 439.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.01553, allocations: 175.6 kB / 439.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008938/0.01643, allocations: 0.7205 MB / 440.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01643, allocations: 0 / 440.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01643, allocations: 0 / 440.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.01644, allocations: 0 / 440.2 MB, free: 8.355 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001442/0.01789, allocations: 0.7089 MB / 441 MB, free: 7.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.01792, allocations: 11.98 kB / 441 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.01876, allocations: 128.5 kB / 441.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.01946, allocations: 359.9 kB / 441.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.01949, allocations: 29.36 kB / 441.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.01965, allocations: 52.66 kB / 441.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.02077, allocations: 0.6916 MB / 442.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02079, allocations: 7.953 kB / 442.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.02085, allocations: 15.98 kB / 442.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.02108, allocations: 68.94 kB / 442.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.02217, allocations: 0.6596 MB / 443 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.02594, allocations: 2.424 MB / 445.4 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.02643, allocations: 289.3 kB / 445.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.02674, allocations: 197.4 kB / 445.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.02677, allocations: 4 kB / 445.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.02681, allocations: 42.48 kB / 445.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.02681, allocations: 0 / 445.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002206/0.02902, allocations: 1.222 MB / 447.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.02909, allocations: 85.11 kB / 447.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.02942, allocations: 284.1 kB / 447.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.02946, allocations: 33.83 kB / 447.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.02967, allocations: 252.2 kB / 447.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.02981, allocations: 146.8 kB / 447.9 MB, free: 376 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.02995, allocations: 86.14 kB / 448 MB, free: 284 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1931/0.2231, allocations: 342.8 kB / 448.3 MB, free: 29.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.2234, allocations: 183.2 kB / 448.5 MB, free: 29.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.2238, allocations: 326.6 kB / 448.8 MB, free: 29.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.2244, allocations: 0.5504 MB / 449.4 MB, free: 29.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2244, allocations: 2.016 kB / 449.4 MB, free: 29.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001302/0.2257, allocations: 0.6857 MB / 450.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2258, allocations: 11.03 kB / 450.1 MB, free: 29.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008292/0.2266, allocations: 484 kB / 450.6 MB, free: 29.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.227, allocations: 116.5 kB / 450.7 MB, free: 29.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2273, allocations: 78.88 kB / 450.7 MB, free: 29.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.2295, allocations: 3.006 MB / 453.8 MB, free: 26.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.2298, allocations: 27.23 kB / 453.8 MB, free: 26.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.2298, allocations: 22.97 kB / 453.8 MB, free: 26.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.2301, allocations: 211.7 kB / 454 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.2302, allocations: 34.55 kB / 454 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.2309, allocations: 469.8 kB / 454.5 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.2309, allocations: 15.98 kB / 454.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.2309, allocations: 0 / 454.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2309, allocations: 2.969 kB / 454.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2321, allocations: 0.8852 MB / 455.4 MB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2321, allocations: 6.75 kB / 455.4 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.2325, allocations: 68.03 kB / 455.5 MB, free: 25.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2325, allocations: 6.594 kB / 455.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.2325, allocations: 9.031 kB / 455.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2325, allocations: 1.938 kB / 455.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2325, allocations: 9.781 kB / 455.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.2334, allocations: 0.7461 MB / 456.2 MB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2336, allocations: 62.25 kB / 456.3 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.2336, allocations: 9.062 kB / 456.3 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2338, allocations: 17.69 kB / 456.3 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.2339, allocations: 16.06 kB / 456.4 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2339, allocations: 12.23 kB / 456.4 MB, free: 25.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2341, allocations: 196.6 kB / 456.6 MB, free: 25.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2341, allocations: 0 / 456.6 MB, free: 25.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.2347, allocations: 113.7 kB / 456.7 MB, free: 25.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002432/0.2349, allocations: 140.4 kB / 456.8 MB, free: 25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2359, allocations: 0.6857 MB / 457.5 MB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2359, allocations: 1.406 kB / 457.5 MB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.2363, allocations: 196.2 kB / 457.7 MB, free: 24.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.2368, allocations: 73.58 kB / 457.8 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2384, allocations: 1.024 MB / 458.8 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.2386, allocations: 272.2 kB / 459 MB, free: 23.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.2389, allocations: 112.2 kB / 459.2 MB, free: 23.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.239, allocations: 30.09 kB / 459.2 MB, free: 23.9 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.239, allocations: 0 / 459.2 MB, free: 23.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01027/0.2493, allocations: 4.23 MB / 463.4 MB, free: 23.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.977977305650711] Failed to read output from testmodel.py, exit status != 0: 0.25784771889448166 0.26817886799999996 0.24946726199999994 Calling exit ...