Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001339/0.001339, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001067/0.001067, allocations: 163.7 kB / 24.99 MB, free: 9.32 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.234/0.234, allocations: 29.42 MB / 291.2 MB, free: 2.453 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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.854e-05, allocations: 5.547 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005692/0.005721, allocations: 6.43 MB / 376.1 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.007921, allocations: 1.422 MB / 377.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.00824, allocations: 35.69 kB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.008744, allocations: 158.7 kB / 377.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.009476, allocations: 441.4 kB / 378.1 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.009934, allocations: 219.5 kB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.01083, allocations: 1.141 MB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.01113, allocations: 217.2 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.01182, allocations: 0.635 MB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.01246, allocations: 0.5299 MB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.01255, allocations: 68.05 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.01264, allocations: 64 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.01289, allocations: 347 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.01313, allocations: 263.5 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.01373, allocations: 0.5879 MB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.01373, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01374, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01375, allocations: 7.875 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001373/0.01512, allocations: 1.063 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01516, allocations: 15.98 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.01532, allocations: 128.5 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.01605, allocations: 0.5254 MB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.01621, allocations: 220.1 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.01628, allocations: 56.31 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.01703, allocations: 0.5411 MB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01705, allocations: 4 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.01709, allocations: 20 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.0172, allocations: 36.97 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.01761, allocations: 261.7 kB / 385 MB, free: 11.7 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.01998, allocations: 2.496 MB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.02063, allocations: 406 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.02081, allocations: 135.4 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.02084, allocations: 15.75 kB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.02087, allocations: 45.31 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.02087, allocations: 0 / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.001602/0.02247, allocations: 0.9408 MB / 389 MB, free: 7.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.02251, allocations: 81.11 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.0228, allocations: 410.6 kB / 389.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.02282, allocations: 33.7 kB / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.02301, allocations: 379.4 kB / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.02309, allocations: 142.8 kB / 390.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.02319, allocations: 95.92 kB / 390.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.02333, allocations: 0.5313 MB / 390.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.02346, allocations: 84.94 kB / 390.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.02366, allocations: 236.2 kB / 391 MB, free: 5.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.024, allocations: 346.7 kB / 391.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.024, allocations: 0 / 391.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005188/0.02452, allocations: 420.2 kB / 391.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02454, allocations: 11.98 kB / 391.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.02454, allocations: 4 kB / 391.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.02474, allocations: 59.59 kB / 391.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.02533, allocations: 223.6 kB / 392 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/0.0286, allocations: 7.444 MB / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.02882, allocations: 31.97 kB / 399.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.02884, allocations: 23.98 kB / 399.5 MB, free: 12.29 MB / 378.7 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.02903, allocations: 180.6 kB / 399.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.0291, allocations: 59.66 kB / 399.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.0296, allocations: 356.1 kB / 400.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.0296, allocations: 4 kB / 400.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02961, allocations: 3.938 kB / 400.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.02961, allocations: 7.984 kB / 400.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.03071, allocations: 0.938 MB / 401.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03071, allocations: 0 / 401.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.03136, allocations: 235.7 kB / 401.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.03152, allocations: 71.25 kB / 401.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.03155, allocations: 15.98 kB / 401.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.03301, allocations: 3.744 MB / 405.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03302, allocations: 0 / 405.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.03363, allocations: 0.6051 MB / 405.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.03368, allocations: 43.66 kB / 405.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.03372, allocations: 8 kB / 405.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.03387, allocations: 23.97 kB / 405.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.03396, allocations: 51.8 kB / 405.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.03398, allocations: 12 kB / 405.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.03415, allocations: 267.1 kB / 406.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03415, allocations: 0 / 406.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004679/0.03462, allocations: 136 kB / 406.3 MB, free: 5.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.0001251/0.03474, allocations: 111.2 kB / 406.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.03574, allocations: 0.7418 MB / 407.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03574, allocations: 0 / 407.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.03645, allocations: 0.6163 MB / 407.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.03692, allocations: 128.3 kB / 407.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.03872, allocations: 1.194 MB / 409.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.03885, allocations: 181.7 kB / 409.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.03903, allocations: 80.36 kB / 409.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.03912, allocations: 36.5 kB / 409.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03912, allocations: 0 / 409.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of Templates: time 0.009217/0.04834, allocations: 7.267 MB / 416.6 MB, free: 10.79 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2132645540405065]