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.001423/0.001423, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001555/0.001555, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.461/1.461, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.288/0.288, allocations: 29.42 MB / 290.5 MB, free: 2.406 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.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 1.353e-06/1.353e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.64e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007675/0.007701, allocations: 5.289 MB / 374.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.01025, allocations: 1.258 MB / 375.4 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.01053, allocations: 23.75 kB / 375.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.01104, allocations: 135 kB / 375.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.01205, allocations: 393.9 kB / 376 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.01239, allocations: 135.7 kB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.01335, allocations: 0.7668 MB / 376.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.01363, allocations: 136.6 kB / 377 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.01441, allocations: 458.5 kB / 377.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.01505, allocations: 363 kB / 377.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.01513, allocations: 36 kB / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.01521, allocations: 36 kB / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.01546, allocations: 207.4 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.0157, allocations: 171.6 kB / 378.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.01655, allocations: 0.5217 MB / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01656, allocations: 0 / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01656, allocations: 4 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.01657, allocations: 0 / 378.8 MB, free: 1.344 MB / 346.7 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.001503/0.01807, allocations: 0.729 MB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.01812, allocations: 15.98 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.0183, allocations: 84.61 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.01918, allocations: 452.6 kB / 380 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.01924, allocations: 29.42 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.01932, allocations: 36.38 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.02018, allocations: 0.5038 MB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.0202, allocations: 0 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.02024, allocations: 19.98 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.02029, allocations: 24.98 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.02092, allocations: 363.7 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.02364, allocations: 1.851 MB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.02412, allocations: 229.2 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.02439, allocations: 117.5 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.02442, allocations: 8 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.02446, allocations: 34.56 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.02446, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001411/0.02587, allocations: 0.7056 MB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.02594, allocations: 81.11 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.02641, allocations: 377.5 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.02643, allocations: 29.7 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.0267, allocations: 296.1 kB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.02678, allocations: 83.27 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.0269, allocations: 86.09 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.02712, allocations: 350.7 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.02727, allocations: 84.95 kB / 385.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.02761, allocations: 281.9 kB / 385.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006903/0.0283, allocations: 406.6 kB / 386 MB, free: 9.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0283, allocations: 0 / 386 MB, free: 9.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008374/0.02914, allocations: 468.4 kB / 386.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.02916, allocations: 8 kB / 386.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.02917, allocations: 8.781 kB / 386.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.02941, allocations: 60.83 kB / 386.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.02968, allocations: 83.83 kB / 386.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.03136, allocations: 1.488 MB / 388.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.03158, allocations: 15.94 kB / 388.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.03162, allocations: 24 kB / 388.1 MB, free: 7.391 MB / 362.7 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.0002677/0.03189, allocations: 201.7 kB / 388.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.03198, allocations: 47.7 kB / 388.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.03239, allocations: 237.1 kB / 388.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.03239, allocations: 0 / 388.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0324, allocations: 4 kB / 388.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.0324, allocations: 0 / 388.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.0334, allocations: 0.5924 MB / 389.2 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.0334, allocations: 4 kB / 389.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.03364, allocations: 55.97 kB / 389.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.03365, allocations: 0 / 389.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.03366, allocations: 8 kB / 389.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.03367, allocations: 0 / 389.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.03367, allocations: 7.938 kB / 389.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.03427, allocations: 442 kB / 389.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.03437, allocations: 39.94 kB / 389.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.03441, allocations: 15.98 kB / 389.7 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.03455, allocations: 8 kB / 389.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.03459, allocations: 15.91 kB / 389.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.03461, allocations: 16.06 kB / 389.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.03491, allocations: 247.2 kB / 390 MB, free: 5.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03491, allocations: 0 / 390 MB, free: 5.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004539/0.03536, allocations: 88 kB / 390.1 MB, free: 5.309 MB / 362.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: 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.0001267/0.03549, allocations: 99.19 kB / 390.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.03619, allocations: 379.7 kB / 390.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0362, allocations: 0 / 390.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.03635, allocations: 95.7 kB / 390.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.03698, allocations: 93.59 kB / 390.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.03851, allocations: 0.8133 MB / 391.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.03883, allocations: 257.7 kB / 391.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.03907, allocations: 79.39 kB / 391.9 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.03915, allocations: 32.5 kB / 391.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03915, allocations: 0 / 391.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of Templates: time 0.009424/0.04857, allocations: 3.609 MB / 395.5 MB, free: 15.89 MB / 378.7 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.666477811057121]