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.001378/0.001378, allocations: 81.97 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.001451/0.001451, allocations: 171.3 kB / 25.61 MB, free: 8.582 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.9594/0.9594, allocations: 177.1 MB / 206 MB, free: 4.477 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.1464/0.1464, allocations: 29.43 MB / 292 MB, free: 2.625 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 1.814e-06/1.814e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.283e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006609/0.006642, allocations: 5.338 MB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.009219, allocations: 1.422 MB / 377.6 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.009769, allocations: 35.69 kB / 377.7 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.01041, allocations: 142.9 kB / 377.8 MB, free: 25.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.01142, allocations: 437.5 kB / 378.2 MB, free: 24.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.01199, allocations: 211.5 kB / 378.4 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.01337, allocations: 1.148 MB / 379.6 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.01382, allocations: 217.2 kB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.01524, allocations: 0.6975 MB / 380.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.01604, allocations: 494.7 kB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.01619, allocations: 60 kB / 381 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.01635, allocations: 64 kB / 381.1 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.01664, allocations: 339.1 kB / 381.4 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.01695, allocations: 251.5 kB / 381.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.01768, allocations: 0.5606 MB / 382.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01769, allocations: 11.92 kB / 382.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01769, allocations: 0 / 382.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.01771, allocations: 0 / 382.3 MB, free: 20.89 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001509/0.01922, allocations: 1.027 MB / 383.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.01926, allocations: 8.031 kB / 383.3 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.01945, allocations: 124.5 kB / 383.4 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.02011, allocations: 484.8 kB / 383.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.02026, allocations: 224.1 kB / 384.1 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.02035, allocations: 60.27 kB / 384.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.02101, allocations: 0.4981 MB / 384.7 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.02103, allocations: 0 / 384.7 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.02108, allocations: 24 kB / 384.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.049e-05/0.02117, allocations: 21 kB / 384.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.02157, allocations: 206.7 kB / 384.9 MB, free: 18.08 MB / 314.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.002589/0.02416, allocations: 2.34 MB / 387.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.02487, allocations: 343 kB / 387.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.02504, allocations: 120.8 kB / 387.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.02507, allocations: 8 kB / 387.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.0251, allocations: 42.89 kB / 387.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.625e-06/0.02511, allocations: 0 / 387.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001594/0.0267, allocations: 0.7198 MB / 388.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.02673, allocations: 84.86 kB / 388.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.02699, allocations: 410.4 kB / 389 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.02702, allocations: 33.7 kB / 389 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.02717, allocations: 375.4 kB / 389.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.02728, allocations: 146.8 kB / 389.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.02741, allocations: 91.89 kB / 389.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.0275, allocations: 0.5429 MB / 390.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.02762, allocations: 60.94 kB / 390.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.0278, allocations: 220.2 kB / 390.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.02812, allocations: 302.5 kB / 390.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02812, allocations: 4 kB / 390.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005805/0.0287, allocations: 380.2 kB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.02872, allocations: 8 kB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02873, allocations: 7.984 kB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.02893, allocations: 47.62 kB / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.0297, allocations: 219.7 kB / 391.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.03247, allocations: 7.337 MB / 398.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.03272, allocations: 23.98 kB / 398.7 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.03275, allocations: 12.19 kB / 398.7 MB, free: 3.422 MB / 314.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.0001751/0.03293, allocations: 196.3 kB / 398.9 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.03301, allocations: 59.72 kB / 399 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.0335, allocations: 324 kB / 399.3 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0335, allocations: 4 kB / 399.3 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.03351, allocations: 7.938 kB / 399.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.03352, allocations: 3.984 kB / 399.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.03464, allocations: 0.8096 MB / 400.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.03465, allocations: 0 / 400.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.03548, allocations: 227.8 kB / 400.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.03568, allocations: 67.23 kB / 400.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.03571, allocations: 8 kB / 400.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.03731, allocations: 3.675 MB / 404.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03731, allocations: 0 / 404.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/0.03804, allocations: 0.5505 MB / 404.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.03811, allocations: 51.64 kB / 404.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.03816, allocations: 8 kB / 404.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.03836, allocations: 15.98 kB / 404.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.03845, allocations: 39.88 kB / 404.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.03848, allocations: 15.98 kB / 404.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00018/0.03866, allocations: 247 kB / 405 MB, free: 12.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03866, allocations: 0 / 405 MB, free: 12.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006435/0.0393, allocations: 140 kB / 405.1 MB, free: 12.64 MB / 330.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.0001501/0.03945, allocations: 115.2 kB / 405.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.04063, allocations: 0.7104 MB / 406 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.04063, allocations: 0 / 406 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.04156, allocations: 0.5969 MB / 406.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.04219, allocations: 136.9 kB / 406.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.04456, allocations: 1.19 MB / 407.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.04475, allocations: 185.6 kB / 408.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.045, allocations: 60.39 kB / 408.1 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.04531, allocations: 178.1 kB / 408.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04531, allocations: 0 / 408.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of Templates: time 0.01485/0.06016, allocations: 7.908 MB / 416.2 MB, free: 1.566 MB / 330.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.1814749292097986]