Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001411/0.001412, allocations: 176.3 kB / 13.64 MB, free: 1.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.559/1.559, allocations: 194.3 MB / 208.4 MB, free: 6.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001659/0.001659, allocations: 118.3 kB / 253.5 MB, free: 9.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1567/0.1567, allocations: 37.91 MB / 336.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.049e-05, allocations: 3.984 kB / 397.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2918, allocations: 53.22 MB / 450.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.7596, allocations: 105 MB / 0.5427 GB, free: 29.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.76, allocations: 90.97 kB / 0.5428 GB, free: 29.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06116/0.8212, allocations: 23.3 MB / 0.5656 GB, free: 25.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.8213, allocations: 0 / 0.5656 GB, free: 25.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.49e-05/0.8213, allocations: 27.25 kB / 0.5656 GB, free: 25.35 MB / 378.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.002354/0.8237, allocations: 1.173 MB / 0.5667 GB, free: 24.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8237, allocations: 11.41 kB / 0.5667 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.8245, allocations: 148.3 kB / 0.5669 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.8276, allocations: 1.248 MB / 0.5681 GB, free: 23.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.8279, allocations: 177.2 kB / 0.5683 GB, free: 23.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.828, allocations: 79.31 kB / 0.5683 GB, free: 23.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.8298, allocations: 1.277 MB / 0.5696 GB, free: 23.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.8298, allocations: 7.875 kB / 0.5696 GB, free: 23.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.8299, allocations: 33.02 kB / 0.5696 GB, free: 23.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/0.83, allocations: 52.3 kB / 0.5697 GB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.8315, allocations: 1.142 MB / 0.5708 GB, free: 23.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00604/0.8376, allocations: 4.948 MB / 0.5756 GB, free: 20.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.8388, allocations: 0.966 MB / 0.5766 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.8395, allocations: 0.5614 MB / 0.5771 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.8396, allocations: 25.33 kB / 0.5771 GB, free: 20.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.8396, allocations: 36.94 kB / 0.5772 GB, free: 19.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.397e-06/0.8396, allocations: 3.938 kB / 0.5772 GB, free: 19.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00336/0.843, allocations: 2.379 MB / 0.5795 GB, free: 19.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8431, allocations: 89.33 kB / 0.5796 GB, free: 19.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.8435, allocations: 407.1 kB / 0.58 GB, free: 18.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.8436, allocations: 40.52 kB / 0.58 GB, free: 18.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8438, allocations: 392.3 kB / 0.5804 GB, free: 18.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.8439, allocations: 262.6 kB / 0.5806 GB, free: 18.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.844, allocations: 18.25 kB / 0.5807 GB, free: 18.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8441, allocations: 375.5 kB / 0.581 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.8446, allocations: 448.7 kB / 0.5814 GB, free: 18.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.8452, allocations: 0.632 MB / 0.5821 GB, free: 17.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.8459, allocations: 0.5109 MB / 0.5826 GB, free: 17.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.8459, allocations: 0 / 0.5826 GB, free: 17.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003176/0.849, allocations: 1.875 MB / 0.5844 GB, free: 17.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.8491, allocations: 7.75 kB / 0.5844 GB, free: 17.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002813/0.8519, allocations: 1.618 MB / 0.586 GB, free: 16.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.853, allocations: 0.5362 MB / 0.5865 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.8536, allocations: 146.7 kB / 0.5866 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.8605, allocations: 6.223 MB / 0.5927 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.8614, allocations: 80.61 kB / 0.5928 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.8615, allocations: 41.42 kB / 0.5928 GB, free: 12.98 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 2 * 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%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.8617, allocations: 145.5 kB / 0.593 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.8619, allocations: 62.22 kB / 0.593 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.8636, allocations: 1.169 MB / 0.5942 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.8637, allocations: 20.48 kB / 0.5942 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8637, allocations: 0 / 0.5942 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.8637, allocations: 7.859 kB / 0.5942 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.867, allocations: 2.317 MB / 0.5965 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.867, allocations: 7.812 kB / 0.5965 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/0.8697, allocations: 0.6393 MB / 0.5971 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.036e-05/0.8698, allocations: 23.09 kB / 0.5971 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.8698, allocations: 21.69 kB / 0.5971 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006765/0.8705, allocations: 1.385 MB / 0.5985 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8705, allocations: 3.984 kB / 0.5985 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.8726, allocations: 1.892 MB / 0.6003 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.8728, allocations: 134.4 kB / 0.6005 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.8729, allocations: 15.91 kB / 0.6005 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.8734, allocations: 73.59 kB / 0.6006 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.8736, allocations: 73.61 kB / 0.6006 GB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/0.8737, allocations: 19.7 kB / 0.6006 GB, free: 8.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003319/0.874, allocations: 310.8 kB / 0.6009 GB, free: 8.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.874, allocations: 0 / 0.6009 GB, free: 8.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009669/0.875, allocations: 250.8 kB / 0.6012 GB, free: 8.738 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.8753, allocations: 162.9 kB / 0.6013 GB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.8772, allocations: 1.438 MB / 0.6027 GB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8773, allocations: 0 / 0.6027 GB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.8796, allocations: 1.075 MB / 0.6038 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.8804, allocations: 138 kB / 0.6039 GB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.8835, allocations: 1.922 MB / 0.6058 GB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.884, allocations: 1.087 MB / 0.6069 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006227/0.8846, allocations: 213.5 kB / 0.6071 GB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.8848, allocations: 51.42 kB / 0.6071 GB, free: 3.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.8849, allocations: 0 / 0.6071 GB, free: 3.809 MB / 378.7 MB Notification: Performance of Templates: time 0.02008/0.9049, allocations: 12.27 MB / 0.6191 GB, free: 7.559 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)