Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001718/0.001718, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.00166/0.00166, allocations: 165.2 kB / 23.95 MB, free: 4.168 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.566/1.566, allocations: 177.1 MB / 204.3 MB, free: 9.191 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.1833/0.1833, 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.218e-06/4.218e-06, allocations: 0 / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.234e-05/6.656e-05, allocations: 6.219 kB / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.01253/0.0126, allocations: 5.278 MB / 436 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004167/0.01677, allocations: 1.266 MB / 437.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.01743, allocations: 23.75 kB / 437.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.01838, allocations: 131 kB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.02022, allocations: 397.8 kB / 437.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.02077, allocations: 135.7 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.02234, allocations: 0.7668 MB / 438.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.02273, allocations: 128.7 kB / 438.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.02408, allocations: 462.5 kB / 439.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.02523, allocations: 359 kB / 439.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.02538, allocations: 36 kB / 439.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.02559, allocations: 36 kB / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.02595, allocations: 211.4 kB / 439.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.02637, allocations: 171.6 kB / 440.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.02744, allocations: 0.5256 MB / 440.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02744, allocations: 0 / 440.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.02744, allocations: 0 / 440.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.02747, allocations: 0 / 440.6 MB, free: 8.023 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002116/0.02958, allocations: 0.7367 MB / 441.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.02964, allocations: 15.98 kB / 441.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.02981, allocations: 60.56 kB / 441.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.03116, allocations: 420.8 kB / 441.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.03121, allocations: 29.38 kB / 441.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.03131, allocations: 44.31 kB / 441.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.03258, allocations: 0.5 MB / 442.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.0326, allocations: 3.938 kB / 442.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.03267, allocations: 16 kB / 442.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.03275, allocations: 24.98 kB / 442.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.03376, allocations: 359.7 kB / 442.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.03772, allocations: 1.855 MB / 444.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.03841, allocations: 221.3 kB / 444.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.0388, allocations: 117.7 kB / 445 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.03882, allocations: 4 kB / 445 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.03887, allocations: 42.55 kB / 445 MB, free: 3.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.975e-06/0.03887, allocations: 0 / 445 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001985/0.04086, allocations: 0.686 MB / 445.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.04095, allocations: 85.05 kB / 445.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.04161, allocations: 385.4 kB / 446.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.04166, allocations: 29.7 kB / 446.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.04198, allocations: 284.1 kB / 446.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.04209, allocations: 91.38 kB / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.04229, allocations: 82.16 kB / 446.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.04258, allocations: 354.7 kB / 447 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.04284, allocations: 88.95 kB / 447.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.04335, allocations: 277.8 kB / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.04419, allocations: 399.3 kB / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.04419, allocations: 0 / 447.7 MB, free: 396 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2107/0.2549, allocations: 452.3 kB / 448.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2549, allocations: 8.547 kB / 448.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.255, allocations: 8.234 kB / 448.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.2552, allocations: 57.84 kB / 448.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.2555, allocations: 83.2 kB / 448.3 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.2566, allocations: 1.479 MB / 449.8 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.2569, allocations: 14.77 kB / 449.8 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2569, allocations: 21.44 kB / 449.8 MB, free: 28.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.2571, allocations: 216.7 kB / 450 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/0.2572, allocations: 39.78 kB / 450.1 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.2576, allocations: 237 kB / 450.3 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2576, allocations: 4.281 kB / 450.3 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2576, allocations: 0 / 450.3 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2576, allocations: 2.312 kB / 450.3 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/0.2584, allocations: 0.5935 MB / 450.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2584, allocations: 5.594 kB / 450.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.2586, allocations: 41.56 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2586, allocations: 2.094 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2586, allocations: 8.391 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2586, allocations: 2.156 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2586, allocations: 4.734 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.2591, allocations: 430.4 kB / 451.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.2591, allocations: 45.11 kB / 451.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.2592, allocations: 7.609 kB / 451.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2593, allocations: 12.59 kB / 451.5 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2594, allocations: 16.59 kB / 451.5 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2594, allocations: 10.19 kB / 451.5 MB, free: 27.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2596, allocations: 249.8 kB / 451.7 MB, free: 27.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2596, allocations: 1.031 kB / 451.7 MB, free: 27.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.26, allocations: 86.25 kB / 451.8 MB, free: 27.69 MB / 366.1 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0001012/0.2601, allocations: 101.2 kB / 451.9 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.2607, allocations: 374.6 kB / 452.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2607, allocations: 1.312 kB / 452.3 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2608, allocations: 87.05 kB / 452.4 MB, free: 27.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.2615, allocations: 102.1 kB / 452.5 MB, free: 27.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2627, allocations: 0.7968 MB / 453.3 MB, free: 26.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.263, allocations: 253.4 kB / 453.5 MB, free: 26.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.2632, allocations: 79.22 kB / 453.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.2633, allocations: 31.55 kB / 453.6 MB, free: 26.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2633, allocations: 5.156 kB / 453.6 MB, free: 26.79 MB / 366.1 MB Notification: Performance of Templates: time 0.008771/0.272, allocations: 3.584 MB / 457.2 MB, free: 26.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.987815655767918] Failed to read output from testmodel.py, exit status != 0: 0.2831668220460415 0.29285799700000004 0.262477615 Calling exit ...