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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008038/0.0008044, allocations: 90.11 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1721/0.1721, allocations: 38.05 MB / 310.1 MB, free: 5.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005171, allocations: 12 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006207/0.267, allocations: 6.948 MB / 440.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.2706, allocations: 1.781 MB / 442.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.2711, allocations: 39.69 kB / 442.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.2717, allocations: 127.2 kB / 442.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.2724, allocations: 402.2 kB / 442.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2728, allocations: 179.8 kB / 443 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.2739, allocations: 1.675 MB / 444.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.2743, allocations: 287 kB / 444.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.2748, allocations: 382.2 kB / 445.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.2753, allocations: 0.5295 MB / 445.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2754, allocations: 32 kB / 445.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.2755, allocations: 32 kB / 445.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.2757, allocations: 283.2 kB / 446.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.276, allocations: 360 kB / 446.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.2765, allocations: 0.8213 MB / 447.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2765, allocations: 0 / 447.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2765, allocations: 0 / 447.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2765, allocations: 0 / 447.3 MB, free: 4.797 MB / 318.1 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.001495/0.278, allocations: 0.914 MB / 448.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.278, allocations: 8.031 kB / 448.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2782, allocations: 80 kB / 448.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.2789, allocations: 0.5457 MB / 448.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.279, allocations: 128.8 kB / 449 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.2791, allocations: 55.98 kB / 449 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2802, allocations: 0.8006 MB / 449.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.2803, allocations: 0 / 449.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.2803, allocations: 24 kB / 449.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2804, allocations: 32.97 kB / 449.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2815, allocations: 0.722 MB / 450.6 MB, free: 1.355 MB / 318.1 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.003453/0.285, allocations: 2.766 MB / 453.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2867, allocations: 0.9286 MB / 454.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.2873, allocations: 345.3 kB / 454.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.2874, allocations: 11.92 kB / 454.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2874, allocations: 42.55 kB / 454.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.405e-06/0.2874, allocations: 4 kB / 454.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003687/0.2911, allocations: 2.007 MB / 456.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.2912, allocations: 88.98 kB / 456.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.2916, allocations: 425.9 kB / 457.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2917, allocations: 37.7 kB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.2919, allocations: 312.2 kB / 457.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.292, allocations: 141.9 kB / 457.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.2921, allocations: 49.69 kB / 457.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2922, allocations: 354.8 kB / 458.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.2927, allocations: 257 kB / 458.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.2933, allocations: 366.3 kB / 458.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2944, allocations: 0.613 MB / 459.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2944, allocations: 4 kB / 459.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001401/0.2958, allocations: 0.8232 MB / 460.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2958, allocations: 8 kB / 460.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2958, allocations: 4 kB / 460.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.2961, allocations: 73.66 kB / 460.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.2976, allocations: 383.8 kB / 460.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/0.3035, allocations: 6.147 MB / 466.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.3039, allocations: 52.22 kB / 466.8 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.304, allocations: 23.92 kB / 466.8 MB, free: 140 kB / 334.1 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.0004543/0.3044, allocations: 241.5 kB / 467.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3046, allocations: 51.34 kB / 467.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.306, allocations: 0.7689 MB / 467.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.306, allocations: 4 kB / 467.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3061, allocations: 0 / 467.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3061, allocations: 4 kB / 467.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3088, allocations: 1.538 MB / 469.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3088, allocations: 0 / 469.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.3104, allocations: 399.6 kB / 469.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.3107, allocations: 97.47 kB / 469.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.3108, allocations: 12 kB / 469.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.3132, allocations: 2.887 MB / 472.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3132, allocations: 3.938 kB / 472.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.3152, allocations: 1.168 MB / 474 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3153, allocations: 120.5 kB / 474.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.3154, allocations: 16 kB / 474.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.3157, allocations: 43.95 kB / 474.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3159, allocations: 39.88 kB / 474.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3159, allocations: 12 kB / 474.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3162, allocations: 299.1 kB / 474.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3162, allocations: 0 / 474.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006454/0.3169, allocations: 140 kB / 474.6 MB, free: 7.855 MB / 350.1 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.0001495/0.317, allocations: 107.2 kB / 474.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.3196, allocations: 1.11 MB / 475.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3197, allocations: 0 / 475.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.3216, allocations: 0.8293 MB / 476.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.3225, allocations: 138.2 kB / 476.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3253, allocations: 1.775 MB / 478.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.3261, allocations: 0.9485 MB / 479.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.3265, allocations: 100.5 kB / 479.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3266, allocations: 35.44 kB / 479.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3266, allocations: 0 / 479.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Templates: time 0.01349/0.3401, allocations: 7.19 MB / 486.9 MB, free: 11.53 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: