Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001041/0.001041, allocations: 80.31 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.001184/0.001184, allocations: 172.9 kB / 25.61 MB, free: 8.449 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.9111/0.9111, allocations: 177.1 MB / 206 MB, free: 4.445 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.1528/0.1528, allocations: 29.43 MB / 292 MB, free: 2.617 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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 4 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.613e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.00401/0.004026, allocations: 4.833 MB / 375.7 MB, free: 27.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.005792, allocations: 1.344 MB / 377.1 MB, free: 26.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.006018, allocations: 27.75 kB / 377.1 MB, free: 26.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.006397, allocations: 131 kB / 377.2 MB, free: 25.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.006959, allocations: 381.8 kB / 377.6 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.007209, allocations: 155.6 kB / 377.7 MB, free: 25.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.007798, allocations: 0.8096 MB / 378.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.007999, allocations: 134.4 kB / 378.7 MB, free: 24.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.008563, allocations: 0.5532 MB / 379.2 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.008843, allocations: 315 kB / 379.5 MB, free: 23.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.008884, allocations: 40 kB / 379.6 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.008935, allocations: 40 kB / 379.6 MB, free: 23.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.009047, allocations: 215.4 kB / 379.8 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.009161, allocations: 179.5 kB / 380 MB, free: 23.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.009461, allocations: 410.4 kB / 380.4 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.009463, allocations: 0 / 380.4 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009463, allocations: 0 / 380.4 MB, free: 22.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.009471, allocations: 0 / 380.4 MB, free: 22.74 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0007047/0.01018, allocations: 0.9117 MB / 381.3 MB, free: 21.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.01021, allocations: 8.031 kB / 381.3 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.01029, allocations: 100.5 kB / 381.4 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.01064, allocations: 421 kB / 381.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.01067, allocations: 33.38 kB / 381.9 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.0107, allocations: 40.38 kB / 381.9 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.011, allocations: 423 kB / 382.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01101, allocations: 0 / 382.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.01103, allocations: 16 kB / 382.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.01106, allocations: 28.98 kB / 382.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.01121, allocations: 180.4 kB / 382.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01226, allocations: 1.981 MB / 384.5 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01249, allocations: 268 kB / 384.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.01259, allocations: 121.1 kB / 384.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01261, allocations: 4 kB / 384.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.01278, allocations: 262.8 kB / 385.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 1.243e-06/0.01278, allocations: 0 / 385.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.000722/0.01351, allocations: 0.8256 MB / 386 MB, free: 16.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.01354, allocations: 166.2 kB / 386.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01372, allocations: 438.4 kB / 386.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.01374, allocations: 33.7 kB / 386.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01385, allocations: 354.9 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.0139, allocations: 122.9 kB / 387.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.01397, allocations: 107.7 kB / 387.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.01404, allocations: 0.5351 MB / 387.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.0141, allocations: 78.64 kB / 387.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.01421, allocations: 315 kB / 388.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.01442, allocations: 421.1 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01442, allocations: 0 / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0003088/0.01473, allocations: 436 kB / 388.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.01475, allocations: 33.7 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01476, allocations: 8 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01477, allocations: 12.62 kB / 389 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.01498, allocations: 115.8 kB / 389.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01498, allocations: 15.88 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.0151, allocations: 16 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.01513, allocations: 31.97 kB / 389.2 MB, free: 13.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.01523, allocations: 226.7 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.01527, allocations: 63.67 kB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.01555, allocations: 374.8 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01555, allocations: 7.938 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01555, allocations: 0 / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01555, allocations: 4 kB / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.01605, allocations: 0.766 MB / 390.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01606, allocations: 4 kB / 390.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.0162, allocations: 59.91 kB / 390.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.0162, allocations: 7.938 kB / 390.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01622, allocations: 20.03 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01622, allocations: 4 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01622, allocations: 0 / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.01661, allocations: 0.6417 MB / 391.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.01668, allocations: 63.62 kB / 391.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01671, allocations: 19.92 kB / 391.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.0168, allocations: 8 kB / 391.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01684, allocations: 23.95 kB / 391.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.01687, allocations: 35.95 kB / 391.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.01697, allocations: 255 kB / 391.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01697, allocations: 0 / 391.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01721, allocations: 104 kB / 391.8 MB, free: 10.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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 7.739e-05/0.01729, allocations: 113.8 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.01754, allocations: 351.6 kB / 392.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01754, allocations: 0 / 392.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.01765, allocations: 210 kB / 392.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.018, allocations: 108.6 kB / 392.6 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01904, allocations: 0.9209 MB / 393.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.01911, allocations: 149.7 kB / 393.7 MB, free: 8.508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.01923, allocations: 60.23 kB / 393.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.01939, allocations: 178.1 kB / 393.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01939, allocations: 0 / 393.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of Templates: time 0.006119/0.02551, allocations: 4.791 MB / 398.7 MB, free: 3.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0627848212607205]