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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.2282/0.2282, allocations: 38.52 MB / 344.5 MB, free: 2.531 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001977/0.001977, allocations: 71.83 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006588/0.3288, allocations: 5.041 MB / 0.5355 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.331, allocations: 1.316 MB / 0.5368 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.3312, allocations: 13.56 kB / 0.5368 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.3316, allocations: 131.2 kB / 0.5369 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.3323, allocations: 325.6 kB / 0.5372 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3326, allocations: 162.4 kB / 0.5374 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.3332, allocations: 0.6968 MB / 0.538 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3334, allocations: 104.6 kB / 0.5381 GB, free: 92 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.3338, allocations: 314.9 kB / 0.5384 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.3345, allocations: 462.9 kB / 0.5389 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.3346, allocations: 45.53 kB / 0.5389 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3347, allocations: 45.94 kB / 0.539 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.3349, allocations: 246.1 kB / 0.5392 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3352, allocations: 283 kB / 0.5395 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007046/0.3359, allocations: 0.613 MB / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3359, allocations: 0 / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3359, allocations: 0 / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3359, allocations: 1.375 kB / 0.5401 GB, free: 14.93 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002153/0.3381, allocations: 0.9571 MB / 0.541 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3381, allocations: 13.2 kB / 0.541 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3383, allocations: 54.3 kB / 0.5411 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3396, allocations: 0.6237 MB / 0.5417 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.3397, allocations: 30.48 kB / 0.5417 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.3398, allocations: 43.33 kB / 0.5418 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.3407, allocations: 0.5501 MB / 0.5423 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3408, allocations: 1.469 kB / 0.5423 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.3408, allocations: 15.06 kB / 0.5423 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003286/0.3411, allocations: 88.58 kB / 0.5424 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.3417, allocations: 352.4 kB / 0.5427 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.345, allocations: 2.061 MB / 0.5447 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.346, allocations: 375.1 kB / 0.5451 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.3466, allocations: 282.9 kB / 0.5454 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.3466, allocations: 7.469 kB / 0.5454 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3467, allocations: 40.77 kB / 0.5454 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.3467, allocations: 5.062 kB / 0.5454 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004817/0.3515, allocations: 2.532 MB / 0.5479 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3516, allocations: 85.55 kB / 0.548 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.352, allocations: 381.3 kB / 0.5483 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3521, allocations: 31.92 kB / 0.5484 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.3523, allocations: 258.6 kB / 0.5486 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.3524, allocations: 139.7 kB / 0.5488 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3526, allocations: 107 kB / 0.5489 GB, free: 8.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3528, allocations: 359.4 kB / 0.5492 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.3532, allocations: 243.2 kB / 0.5494 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.3536, allocations: 358.7 kB / 0.5498 GB, free: 7.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.3545, allocations: 0.6161 MB / 0.5504 GB, free: 7.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3545, allocations: 1.188 kB / 0.5504 GB, free: 7.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001822/0.3563, allocations: 0.9991 MB / 0.5514 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.3563, allocations: 11.94 kB / 0.5514 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3564, allocations: 4 kB / 0.5514 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3574, allocations: 409.5 kB / 0.5518 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3577, allocations: 83.84 kB / 0.5518 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.364, allocations: 5.143 MB / 0.5569 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.3644, allocations: 39.94 kB / 0.5569 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.3644, allocations: 20 kB / 0.5569 GB, free: 0.7734 MB / 398.1 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 0.0003337/0.3647, allocations: 205.6 kB / 0.5571 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3649, allocations: 47.78 kB / 0.5572 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.3664, allocations: 0.8233 MB / 0.558 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3664, allocations: 4 kB / 0.558 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3664, allocations: 4 kB / 0.558 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3664, allocations: 7.984 kB / 0.558 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.3688, allocations: 1.414 MB / 0.5594 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3688, allocations: 0 / 0.5594 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.369, allocations: 40 kB / 0.5594 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.3702, allocations: 441.4 kB / 0.5598 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.3703, allocations: 39.91 kB / 0.5599 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/0.3767, allocations: 6.706 MB / 0.5664 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3767, allocations: 0 / 0.5664 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.3787, allocations: 1.126 MB / 0.5675 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3789, allocations: 124.8 kB / 0.5676 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.379, allocations: 27.98 kB / 0.5676 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3793, allocations: 35.94 kB / 0.5677 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3794, allocations: 43.88 kB / 0.5677 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.3794, allocations: 11.98 kB / 0.5677 GB, free: 4.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.3798, allocations: 267.1 kB / 0.568 GB, free: 4.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3798, allocations: 0 / 0.568 GB, free: 4.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007334/0.3805, allocations: 156 kB / 0.5681 GB, free: 4.5 MB / 414.1 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.0001871/0.3807, allocations: 126.1 kB / 0.5683 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3825, allocations: 0.8765 MB / 0.5691 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3825, allocations: 4.25 kB / 0.5691 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.3841, allocations: 1.074 MB / 0.5702 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.3848, allocations: 133.6 kB / 0.5703 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3878, allocations: 1.848 MB / 0.5721 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.3884, allocations: 0.882 MB / 0.573 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3887, allocations: 76.34 kB / 0.573 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3887, allocations: 35.38 kB / 0.5731 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3887, allocations: 0 / 0.5731 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Templates: time 0.01491/0.4036, allocations: 7.905 MB / 0.5808 GB, free: 7.391 MB / 430.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.292054176330566]