Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001213, allocations: 114.2 kB / 17.69 MB, free: 5.309 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.001122/0.001122, allocations: 191 kB / 18.63 MB, free: 4.375 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.353/1.353, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1773/0.1773, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001466/0.001466, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006909/0.2446, allocations: 6.689 MB / 438.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.2482, allocations: 2.166 MB / 440.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.2486, allocations: 23.88 kB / 440.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.2499, allocations: 0.5117 MB / 441.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.251, allocations: 0.56 MB / 442 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.2517, allocations: 351.3 kB / 442.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.2526, allocations: 1.294 MB / 443.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.2532, allocations: 0.7285 MB / 444.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.2537, allocations: 0.5449 MB / 444.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.2544, allocations: 0.7362 MB / 445.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.2545, allocations: 108 kB / 445.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.2552, allocations: 0.5968 MB / 446.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.2555, allocations: 474.9 kB / 446.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.256, allocations: 0.5251 MB / 447.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2571, allocations: 1.542 MB / 448.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2571, allocations: 0 / 448.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2571, allocations: 4 kB / 448.9 MB, free: 2.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2571, allocations: 0 / 448.9 MB, free: 2.594 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002468/0.2596, allocations: 1.371 MB / 450.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2596, allocations: 11.89 kB / 450.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006341/0.2603, allocations: 139.7 kB / 450.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2615, allocations: 0.6882 MB / 451.1 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2617, allocations: 179.6 kB / 451.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2619, allocations: 87.84 kB / 451.3 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.2641, allocations: 1.41 MB / 452.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.2642, allocations: 0 / 452.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.2643, allocations: 32 kB / 452.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.2645, allocations: 81.94 kB / 452.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.2671, allocations: 1.526 MB / 454.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/0.274, allocations: 4.416 MB / 458.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.2762, allocations: 1.196 MB / 460 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.2775, allocations: 0.7773 MB / 460.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.2776, allocations: 12.66 kB / 460.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2776, allocations: 43.2 kB / 460.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 3.417e-06/0.2777, allocations: 0 / 460.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.006836/0.2845, allocations: 3.854 MB / 464.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.2846, allocations: 90.14 kB / 464.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.2851, allocations: 405.9 kB / 465.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.2851, allocations: 37.7 kB / 465.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.2854, allocations: 344.2 kB / 465.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.2856, allocations: 350.9 kB / 465.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.2859, allocations: 162.5 kB / 466 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2861, allocations: 378.8 kB / 466.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009716/0.2871, allocations: 0.5954 MB / 467 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.2882, allocations: 0.7462 MB / 467.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.2903, allocations: 1.387 MB / 469.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2903, allocations: 0 / 469.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002667/0.293, allocations: 1.603 MB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.293, allocations: 8 kB / 470.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2931, allocations: 0 / 470.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.2932, allocations: 44.83 kB / 470.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.2956, allocations: 0.4916 MB / 471.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/0.3023, allocations: 6.682 MB / 478 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.3032, allocations: 79.89 kB / 478 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.3033, allocations: 28.09 kB / 478.1 MB, free: 4.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005995/0.304, allocations: 329.5 kB / 478.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.3042, allocations: 63.25 kB / 478.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.3072, allocations: 1.592 MB / 480 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.3072, allocations: 31.97 kB / 480.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3072, allocations: 4 kB / 480.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3073, allocations: 3.984 kB / 480.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.3123, allocations: 2.877 MB / 483 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.3123, allocations: 4 kB / 483 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/0.315, allocations: 0.5267 MB / 483.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.3151, allocations: 40.84 kB / 483.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/0.3152, allocations: 23.98 kB / 483.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.3164, allocations: 1.638 MB / 485.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3164, allocations: 0 / 485.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/0.3205, allocations: 2.535 MB / 487.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.3208, allocations: 140.3 kB / 487.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.321, allocations: 27.88 kB / 487.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.3216, allocations: 67.89 kB / 488 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.3218, allocations: 84.48 kB / 488 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.3219, allocations: 20.08 kB / 488.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003608/0.3223, allocations: 279.1 kB / 488.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3223, allocations: 0 / 488.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001129/0.3234, allocations: 240 kB / 488.6 MB, free: 9.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003916/0.3238, allocations: 163.2 kB / 488.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.328, allocations: 1.841 MB / 490.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.328, allocations: 4 kB / 490.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002887/0.3309, allocations: 1.198 MB / 491.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.3319, allocations: 153.1 kB / 491.9 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.3371, allocations: 2.59 MB / 494.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.3379, allocations: 1.076 MB / 495.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007584/0.3387, allocations: 273.5 kB / 495.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.339, allocations: 63.42 kB / 495.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.339, allocations: 0 / 495.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of Templates: time 0.02002/0.359, allocations: 10.9 MB / 0.4949 GB, free: 7.055 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)