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.001204/0.001204, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001198/0.001198, allocations: 192 kB / 18.62 MB, free: 4.434 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.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1793/0.1793, allocations: 37.98 MB / 309.8 MB, free: 5.977 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.001469/0.001469, allocations: 71.84 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2182, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005803/0.224, allocations: 6.342 MB / 438.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2261, allocations: 1.489 MB / 439.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.2265, allocations: 23.81 kB / 439.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.227, allocations: 146.8 kB / 440 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.2277, allocations: 429.9 kB / 440.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.2281, allocations: 207.6 kB / 440.6 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.2289, allocations: 1.122 MB / 441.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.2292, allocations: 348.6 kB / 442.1 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.2297, allocations: 474.2 kB / 442.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.2302, allocations: 0.5374 MB / 443.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.2303, allocations: 64 kB / 443.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2304, allocations: 67.94 kB / 443.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2307, allocations: 323.2 kB / 443.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.231, allocations: 366.3 kB / 443.9 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.2316, allocations: 0.8722 MB / 444.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2316, allocations: 0 / 444.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2316, allocations: 0 / 444.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.2316, allocations: 7.938 kB / 444.8 MB, free: 6.84 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.001625/0.2333, allocations: 1.023 MB / 445.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2333, allocations: 15.89 kB / 445.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2334, allocations: 76.08 kB / 445.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.2343, allocations: 0.5847 MB / 446.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.2345, allocations: 124.8 kB / 446.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.2346, allocations: 59.92 kB / 446.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009872/0.2356, allocations: 0.7772 MB / 447.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2356, allocations: 3.938 kB / 447.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.2356, allocations: 27.98 kB / 447.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/0.2357, allocations: 36.92 kB / 447.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.2368, allocations: 0.6947 MB / 448.2 MB, free: 3.285 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.003221/0.2401, allocations: 2.692 MB / 450.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.2417, allocations: 0.8818 MB / 451.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.2422, allocations: 333.3 kB / 452.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.2423, allocations: 4 kB / 452.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.2423, allocations: 38.55 kB / 452.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.395e-06/0.2424, allocations: 4 kB / 452.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003699/0.2461, allocations: 1.926 MB / 454.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.2461, allocations: 89.03 kB / 454.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.2466, allocations: 417.9 kB / 454.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.2466, allocations: 37.7 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.2469, allocations: 320.2 kB / 454.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.247, allocations: 138 kB / 455.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2471, allocations: 94.19 kB / 455.1 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2473, allocations: 358.8 kB / 455.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2477, allocations: 233 kB / 455.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.2483, allocations: 358 kB / 456.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.2492, allocations: 0.582 MB / 456.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2493, allocations: 0 / 456.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001326/0.2506, allocations: 0.7879 MB / 457.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2506, allocations: 11.94 kB / 457.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2506, allocations: 4 kB / 457.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.2509, allocations: 77.89 kB / 457.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.2522, allocations: 283.6 kB / 457.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.2581, allocations: 6.505 MB / 464.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.2585, allocations: 39.95 kB / 464.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.2586, allocations: 16 kB / 464.4 MB, free: 2.078 MB / 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.0003411/0.2589, allocations: 237.6 kB / 464.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.259, allocations: 55.41 kB / 464.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2603, allocations: 0.7299 MB / 465.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2603, allocations: 8 kB / 465.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2603, allocations: 7.938 kB / 465.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2603, allocations: 0 / 465.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.2627, allocations: 1.491 MB / 466.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2627, allocations: 0 / 466.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.2642, allocations: 299.6 kB / 467.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.2644, allocations: 93.53 kB / 467.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2645, allocations: 12 kB / 467.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.2668, allocations: 3.169 MB / 470.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2668, allocations: 4.031 kB / 470.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.2688, allocations: 1.122 MB / 471.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2689, allocations: 112.5 kB / 471.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.269, allocations: 8 kB / 471.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.2693, allocations: 36 kB / 471.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2694, allocations: 43.81 kB / 471.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.2695, allocations: 12 kB / 471.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003061/0.2698, allocations: 295.1 kB / 472.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2698, allocations: 4 kB / 472.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.2704, allocations: 136 kB / 472.2 MB, free: 9.75 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.0001433/0.2706, allocations: 111.2 kB / 472.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.2729, allocations: 0.9972 MB / 473.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.273, allocations: 0 / 473.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.2747, allocations: 0.7239 MB / 474 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.2755, allocations: 151.5 kB / 474.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.2778, allocations: 1.414 MB / 475.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.2784, allocations: 0.9409 MB / 476.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.2787, allocations: 104.5 kB / 476.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2788, allocations: 43.42 kB / 476.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2788, allocations: 0 / 476.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Templates: time 0.01275/0.2916, allocations: 7.672 MB / 484.4 MB, free: 13.51 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)