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.001806/0.001806, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001633/0.001633, allocations: 165.7 kB / 24.27 MB, free: 140 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.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3227/0.3227, allocations: 29.42 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.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.084e-06/2.084e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.027e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.009502/0.009533, allocations: 6.048 MB / 374.9 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.01277, allocations: 1.387 MB / 376.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.01312, allocations: 31.69 kB / 376.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.01371, allocations: 154.8 kB / 376.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01477, allocations: 441.4 kB / 376.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.01536, allocations: 219.4 kB / 377.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.01679, allocations: 1.141 MB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.01719, allocations: 213.2 kB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.01825, allocations: 0.6427 MB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.01915, allocations: 0.5182 MB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.01927, allocations: 64 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.01942, allocations: 64 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.02006, allocations: 335.1 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.02046, allocations: 267.5 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.02169, allocations: 0.8841 MB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.0217, allocations: 7.984 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.0217, allocations: 0 / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.02172, allocations: 0 / 381.3 MB, free: 14.86 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.002341/0.02406, allocations: 0.9665 MB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.0241, allocations: 11.98 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.02436, allocations: 120.5 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.02556, allocations: 0.5461 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.02585, allocations: 220.1 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.02597, allocations: 56.38 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.02756, allocations: 0.7849 MB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.02758, allocations: 0 / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.0277, allocations: 28 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.02782, allocations: 36.97 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.02935, allocations: 0.6869 MB / 384.7 MB, free: 11.28 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.004856/0.03421, allocations: 2.432 MB / 387.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.03614, allocations: 0.7034 MB / 387.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.03681, allocations: 305.6 kB / 388.1 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.03685, allocations: 11.69 kB / 388.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.0369, allocations: 50.44 kB / 388.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.214e-06/0.0369, allocations: 0 / 388.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.004387/0.04129, allocations: 1.656 MB / 389.9 MB, free: 5.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.04136, allocations: 85.05 kB / 389.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.0419, allocations: 389.5 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.04194, allocations: 29.7 kB / 390.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.04225, allocations: 324.8 kB / 390.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.04241, allocations: 142.7 kB / 390.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.04258, allocations: 86.19 kB / 390.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.04281, allocations: 362.8 kB / 391.2 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.04336, allocations: 232.8 kB / 391.5 MB, free: 4.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.04403, allocations: 349.7 kB / 391.8 MB, free: 3.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.04524, allocations: 0.582 MB / 392.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.04525, allocations: 0 / 392.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001649/0.0469, allocations: 0.7248 MB / 393.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.04692, allocations: 4.438 kB / 393.1 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.04693, allocations: 8 kB / 393.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.04727, allocations: 85.55 kB / 393.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.04879, allocations: 279.6 kB / 393.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007908/0.0567, allocations: 5.991 MB / 399.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.05716, allocations: 44.27 kB / 399.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.0572, allocations: 16 kB / 399.5 MB, free: 11.72 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.0004136/0.05762, allocations: 241.6 kB / 399.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.05774, allocations: 63.67 kB / 399.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.0593, allocations: 0.6505 MB / 400.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.05931, allocations: 4 kB / 400.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.05931, allocations: 4 kB / 400.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.05932, allocations: 3.984 kB / 400.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.06231, allocations: 1.265 MB / 401.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.06231, allocations: 0 / 401.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.06396, allocations: 299.6 kB / 402.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.0643, allocations: 101.5 kB / 402.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.06433, allocations: 12 kB / 402.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.0673, allocations: 2.905 MB / 405.1 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.06731, allocations: 3.938 kB / 405.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.06954, allocations: 1.059 MB / 406.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.06964, allocations: 43.67 kB / 406.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.0697, allocations: 16.03 kB / 406.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.07003, allocations: 27.97 kB / 406.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.07017, allocations: 39.86 kB / 406.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.0702, allocations: 16 kB / 406.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.07057, allocations: 271.1 kB / 406.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07057, allocations: 0 / 406.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.07127, allocations: 136 kB / 406.7 MB, free: 4.273 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.000189/0.07146, allocations: 115.3 kB / 406.8 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.07429, allocations: 0.9724 MB / 407.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.07429, allocations: 0 / 407.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.07661, allocations: 0.7082 MB / 408.5 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.07739, allocations: 138.1 kB / 408.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.08011, allocations: 1.321 MB / 409.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.08059, allocations: 352.9 kB / 410.3 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.08092, allocations: 88.36 kB / 410.4 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.08107, allocations: 40.48 kB / 410.4 MB, free: 444 kB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.08107, allocations: 0 / 410.4 MB, free: 444 kB / 378.7 MB Notification: Performance of Templates: time 0.01602/0.09709, allocations: 7.244 MB / 417.6 MB, free: 9.301 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.005374397966079]