Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 174.2 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007366/0.0007366, allocations: 87.86 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1694/0.1694, allocations: 38.07 MB / 356.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 56.32 MB / 479.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005669/0.2258, allocations: 6.997 MB / 486.6 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2291, allocations: 2.371 MB / 489 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.2295, allocations: 43.94 kB / 489 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.23, allocations: 180.4 kB / 489.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.2312, allocations: 0.5657 MB / 489.8 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.232, allocations: 354.2 kB / 490.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.2335, allocations: 1.481 MB / 491.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2347, allocations: 0.9445 MB / 492.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.2353, allocations: 443.2 kB / 493 MB, free: 1.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.2362, allocations: 0.6641 MB / 493.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2363, allocations: 45.84 kB / 493.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.2372, allocations: 0.4971 MB / 494.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.2376, allocations: 417.4 kB / 494.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.2381, allocations: 465.3 kB / 495.1 MB, free: 392 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2393, allocations: 1.103 MB / 496.2 MB, free: 168 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2393, allocations: 4 kB / 496.2 MB, free: 164 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2393, allocations: 0 / 496.2 MB, free: 164 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.2393, allocations: 0 / 496.2 MB, free: 164 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002429/0.2417, allocations: 1.2 MB / 497.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2418, allocations: 8.969 kB / 497.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.2425, allocations: 143.6 kB / 497.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.2436, allocations: 0.6476 MB / 498.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.2438, allocations: 181.7 kB / 498.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.2441, allocations: 102.6 kB / 498.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.2462, allocations: 1.376 MB / 499.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2463, allocations: 1.312 kB / 499.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.2464, allocations: 37.05 kB / 499.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.2465, allocations: 66.34 kB / 499.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.2489, allocations: 1.337 MB / 0.4895 GB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/0.2556, allocations: 4.971 MB / 0.4944 GB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.2579, allocations: 1.21 MB / 0.4955 GB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.259, allocations: 0.6641 MB / 0.4962 GB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.259, allocations: 8.688 kB / 0.4962 GB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2591, allocations: 45.72 kB / 0.4962 GB, free: 8.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.945e-06/0.2591, allocations: 0 / 0.4962 GB, free: 8.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.00584/0.2649, allocations: 3.293 MB / 0.4995 GB, free: 6.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.265, allocations: 89.66 kB / 0.4995 GB, free: 5.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.2655, allocations: 461.9 kB / 0.5 GB, free: 5.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.2656, allocations: 33.7 kB / 0.5 GB, free: 5.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2658, allocations: 399.2 kB / 0.5004 GB, free: 5.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.266, allocations: 260.3 kB / 0.5006 GB, free: 4.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.2661, allocations: 16 kB / 0.5007 GB, free: 4.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2663, allocations: 370.8 kB / 0.501 GB, free: 4.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009088/0.2672, allocations: 0.5212 MB / 0.5015 GB, free: 3.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.2682, allocations: 0.7106 MB / 0.5022 GB, free: 3.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.2701, allocations: 1.251 MB / 0.5034 GB, free: 1.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.2701, allocations: 7.938 kB / 0.5034 GB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004217/0.2744, allocations: 2.119 MB / 0.5055 GB, free: 15.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2744, allocations: 10.66 kB / 0.5055 GB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003735/0.2781, allocations: 1.867 MB / 0.5073 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.2799, allocations: 0.7041 MB / 0.508 GB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.2805, allocations: 151.8 kB / 0.5082 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.2906, allocations: 7.069 MB / 0.5151 GB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.2913, allocations: 91.98 kB / 0.5152 GB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.2914, allocations: 35.98 kB / 0.5152 GB, free: 5.418 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005068/0.2919, allocations: 313.4 kB / 0.5155 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2921, allocations: 63.25 kB / 0.5156 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.2943, allocations: 1.348 MB / 0.5169 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.2943, allocations: 16 kB / 0.5169 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2944, allocations: 0 / 0.5169 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2944, allocations: 7.922 kB / 0.5169 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.2982, allocations: 2.461 MB / 0.5193 GB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2983, allocations: 0 / 0.5193 GB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/0.3009, allocations: 0.64 MB / 0.5199 GB, free: 456 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.301, allocations: 36.84 kB / 0.52 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.3011, allocations: 16 kB / 0.52 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3022, allocations: 1.471 MB / 0.5214 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3022, allocations: 4 kB / 0.5214 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.3055, allocations: 2.078 MB / 0.5234 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3057, allocations: 132.3 kB / 0.5236 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3058, allocations: 20 kB / 0.5236 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3064, allocations: 67.92 kB / 0.5237 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.3065, allocations: 68.33 kB / 0.5237 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.3066, allocations: 28 kB / 0.5238 GB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003642/0.307, allocations: 310.9 kB / 0.524 GB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.307, allocations: 0 / 0.524 GB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000981/0.308, allocations: 232 kB / 0.5243 GB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/0.3082, allocations: 127.2 kB / 0.5244 GB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.311, allocations: 1.602 MB / 0.526 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.311, allocations: 0 / 0.526 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/0.3139, allocations: 1.135 MB / 0.5271 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3149, allocations: 141.9 kB / 0.5272 GB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.3192, allocations: 2.792 MB / 0.5299 GB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.3199, allocations: 1.067 MB / 0.531 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.3203, allocations: 59.42 kB / 0.531 GB, free: 4.762 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3203, allocations: 0 / 0.531 GB, free: 4.762 MB / 362.7 MB Notification: Performance of Templates: time 0.02393/0.3442, allocations: 20.07 MB / 0.5506 GB, free: 0.6758 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)