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.002378/0.002378, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002778/0.002778, allocations: 165.3 kB / 24.28 MB, free: 156 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3006/0.3006, allocations: 29.41 MB / 290.5 MB, free: 2.43 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 1.323e-06/1.323e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.696e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008281/0.008308, allocations: 5.566 MB / 374.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.01102, allocations: 1.34 MB / 375.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.0113, allocations: 27.75 kB / 375.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.01183, allocations: 135 kB / 375.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009919/0.01282, allocations: 405.7 kB / 376.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.01318, allocations: 151.7 kB / 376.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01428, allocations: 0.8018 MB / 377.3 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.01457, allocations: 142.1 kB / 377.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.01535, allocations: 474.6 kB / 377.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.01608, allocations: 383 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/0.01616, allocations: 36 kB / 378.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.01628, allocations: 44 kB / 378.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.01654, allocations: 219.3 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.01683, allocations: 191.5 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.01769, allocations: 0.5763 MB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.0177, allocations: 7.938 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0177, allocations: 0 / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.01771, allocations: 0 / 379.3 MB, free: 0.8125 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001729/0.01943, allocations: 0.9586 MB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.01948, allocations: 11.98 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.01967, allocations: 100.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.02066, allocations: 471.1 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.02071, allocations: 29.38 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.02079, allocations: 44.36 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.02166, allocations: 495.2 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.02168, allocations: 11.88 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.02172, allocations: 16 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.02176, allocations: 21 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.0223, allocations: 265.4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.02522, allocations: 2.08 MB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.02599, allocations: 304 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.02633, allocations: 180.4 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.02637, allocations: 8.25 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004586/0.02682, allocations: 309.4 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.02683, allocations: 0 / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002098/0.02892, allocations: 1.105 MB / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.02905, allocations: 170.2 kB / 385.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.02965, allocations: 0.4908 MB / 386.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.02968, allocations: 29.7 kB / 386.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.03, allocations: 366.9 kB / 386.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.03013, allocations: 127 kB / 386.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.03029, allocations: 111.9 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003316/0.03062, allocations: 0.5547 MB / 387.5 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.03083, allocations: 114.7 kB / 387.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.03126, allocations: 355.1 kB / 388 MB, free: 7.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.03194, allocations: 0.4934 MB / 388.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03194, allocations: 0 / 388.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008499/0.03279, allocations: 0.5082 MB / 389 MB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.03284, allocations: 33.7 kB / 389 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.03285, allocations: 4 kB / 389 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.03287, allocations: 11.94 kB / 389 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.03335, allocations: 115.8 kB / 389.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.03336, allocations: 8 kB / 389.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.03361, allocations: 23.94 kB / 389.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.03367, allocations: 31.98 kB / 389.2 MB, free: 6.227 MB / 362.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.0002682/0.03394, allocations: 250.2 kB / 389.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.03403, allocations: 59.72 kB / 389.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007859/0.03482, allocations: 441.5 kB / 389.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.03483, allocations: 8 kB / 390 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.03483, allocations: 4 kB / 390 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.03484, allocations: 7.984 kB / 390 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.03656, allocations: 0.9731 MB / 390.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.03656, allocations: 0 / 390.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.03688, allocations: 67.97 kB / 391 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.03688, allocations: 0 / 391 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.03692, allocations: 15.98 kB / 391 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.03692, allocations: 3.938 kB / 391 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.03693, allocations: 4 kB / 391 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.03802, allocations: 0.7703 MB / 391.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.03819, allocations: 63.62 kB / 391.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.03826, allocations: 15.98 kB / 391.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.03846, allocations: 12 kB / 391.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.03855, allocations: 31.92 kB / 391.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.0386, allocations: 27.97 kB / 391.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003503/0.03895, allocations: 307.1 kB / 392.2 MB, free: 3.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03895, allocations: 0 / 392.2 MB, free: 3.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.03943, allocations: 104 kB / 392.3 MB, free: 2.938 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: 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 0.0001524/0.03958, allocations: 110.9 kB / 392.5 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.04028, allocations: 439.8 kB / 392.9 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.04029, allocations: 4 kB / 392.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.04063, allocations: 252.8 kB / 393.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.04127, allocations: 117.4 kB / 393.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.04296, allocations: 0.9289 MB / 394.2 MB, free: 1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.04329, allocations: 276.2 kB / 394.4 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.04354, allocations: 76.31 kB / 394.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.04363, allocations: 40.48 kB / 394.6 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04363, allocations: 0 / 394.6 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of Templates: time 0.01058/0.05421, allocations: 4.345 MB / 398.9 MB, free: 12.35 MB / 378.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: 4.866746408981271]