Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001331/0.001331, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001491/0.001491, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.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.1831/0.1831, allocations: 38.53 MB / 353.2 MB, free: 12.52 MB / 286.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.91 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006761/0.3169, allocations: 5.341 MB / 0.5484 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.3202, allocations: 1.808 MB / 0.5502 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.3206, allocations: 22.12 kB / 0.5502 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3221, allocations: 471.3 kB / 0.5507 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.323, allocations: 298.7 kB / 0.551 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3241, allocations: 369.3 kB / 0.5513 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3251, allocations: 0.7768 MB / 0.5521 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.3257, allocations: 316.4 kB / 0.5524 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.3263, allocations: 348.1 kB / 0.5527 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.327, allocations: 0.4944 MB / 0.5532 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.3271, allocations: 49.84 kB / 0.5532 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.3276, allocations: 192.1 kB / 0.5534 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.328, allocations: 290.6 kB / 0.5537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.3284, allocations: 342.9 kB / 0.554 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.3294, allocations: 0.8226 MB / 0.5548 GB, free: 7.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3294, allocations: 0 / 0.5548 GB, free: 7.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3294, allocations: 1.062 kB / 0.5548 GB, free: 7.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3294, allocations: 4 kB / 0.5548 GB, free: 7.961 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001725/0.3311, allocations: 0.8555 MB / 0.5557 GB, free: 7.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3312, allocations: 13.08 kB / 0.5557 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3323, allocations: 173.3 kB / 0.5559 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3333, allocations: 480.9 kB / 0.5563 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.3334, allocations: 34.75 kB / 0.5563 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.3337, allocations: 133.5 kB / 0.5565 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.335, allocations: 0.8624 MB / 0.5573 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.335, allocations: 0 / 0.5573 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.3351, allocations: 23.98 kB / 0.5573 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004495/0.3355, allocations: 72.94 kB / 0.5574 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.3365, allocations: 0.6282 MB / 0.558 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.3414, allocations: 3.716 MB / 0.5616 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3425, allocations: 0.5227 MB / 0.5622 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.343, allocations: 314.9 kB / 0.5625 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.343, allocations: 8.422 kB / 0.5625 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3431, allocations: 46.88 kB / 0.5625 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.944e-06/0.3431, allocations: 0 / 0.5625 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003076/0.3462, allocations: 1.774 MB / 0.5642 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.3462, allocations: 85.48 kB / 0.5643 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3467, allocations: 421.8 kB / 0.5647 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.3467, allocations: 37.7 kB / 0.5648 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.347, allocations: 332.6 kB / 0.5651 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3472, allocations: 210.3 kB / 0.5653 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.3474, allocations: 158.2 kB / 0.5654 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3476, allocations: 366.7 kB / 0.5658 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.3481, allocations: 377.5 kB / 0.5661 GB, free: 12.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.3489, allocations: 0.5979 MB / 0.5667 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3503, allocations: 1.066 MB / 0.5678 GB, free: 10.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3503, allocations: 0 / 0.5678 GB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004375/0.3546, allocations: 1.962 MB / 0.5697 GB, free: 8.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3547, allocations: 8 kB / 0.5697 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3547, allocations: 11.98 kB / 0.5697 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.3571, allocations: 0.9736 MB / 0.5707 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.3576, allocations: 115.8 kB / 0.5708 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.3686, allocations: 7.995 MB / 0.5786 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.3692, allocations: 35.97 kB / 0.5786 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.3693, allocations: 36 kB / 0.5786 GB, free: 15.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.3697, allocations: 252.2 kB / 0.5789 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3698, allocations: 55.66 kB / 0.5789 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.371, allocations: 0.7257 MB / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.371, allocations: 4 kB / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.371, allocations: 0 / 0.5796 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.371, allocations: 3.984 kB / 0.5796 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.3737, allocations: 1.496 MB / 0.5811 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.3737, allocations: 4 kB / 0.5811 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3747, allocations: 183.8 kB / 0.5813 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3748, allocations: 4 kB / 0.5813 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.3748, allocations: 31.92 kB / 0.5813 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.3748, allocations: 12.03 kB / 0.5813 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3748, allocations: 4 kB / 0.5813 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3762, allocations: 0.9936 MB / 0.5823 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3764, allocations: 51.61 kB / 0.5824 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.3765, allocations: 27.98 kB / 0.5824 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3768, allocations: 23.97 kB / 0.5824 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.3769, allocations: 32.38 kB / 0.5824 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.3769, allocations: 19.98 kB / 0.5825 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.3772, allocations: 283.1 kB / 0.5827 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3772, allocations: 0 / 0.5827 GB, free: 11.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008645/0.3781, allocations: 208 kB / 0.5829 GB, free: 10.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * 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.0001713/0.3783, allocations: 127.1 kB / 0.583 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.3808, allocations: 1.429 MB / 0.5844 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3808, allocations: 0 / 0.5844 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.3813, allocations: 295.1 kB / 0.5847 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.382, allocations: 135.7 kB / 0.5849 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.3864, allocations: 2.811 MB / 0.5876 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.387, allocations: 0.9804 MB / 0.5886 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.3872, allocations: 51.42 kB / 0.5886 GB, free: 4.926 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3872, allocations: 0 / 0.5886 GB, free: 4.926 MB / 430.1 MB Notification: Performance of Templates: time 0.01624/0.4035, allocations: 11.08 MB / 0.5994 GB, free: 9.852 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.291806558147073] Failed to read output from testmodel.py, exit status != 0: 0.41239833179861307 0.42590602800000005 0.09343883800000001 Calling exit ...