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.001557/0.001557, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001893/0.001893, allocations: 191 kB / 18.63 MB, free: 4.508 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.623/1.623, 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.1752/0.1752, 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.001524/0.001524, allocations: 71.03 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3343, allocations: 55.23 MB / 432 MB, free: 19.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008851/0.3432, allocations: 6.689 MB / 438.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.3475, allocations: 2.17 MB / 440.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005588/0.3481, allocations: 19.88 kB / 440.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.3496, allocations: 0.5093 MB / 441.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.3512, allocations: 0.56 MB / 442 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3525, allocations: 363.2 kB / 442.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.354, allocations: 1.298 MB / 443.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.355, allocations: 0.7246 MB / 444.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.356, allocations: 0.541 MB / 444.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009047/0.3569, allocations: 0.7362 MB / 445.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.357, allocations: 104 kB / 445.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3582, allocations: 0.5967 MB / 446.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.3586, allocations: 486.9 kB / 446.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.3591, allocations: 0.5251 MB / 447.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3606, allocations: 1.535 MB / 448.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3607, allocations: 0 / 448.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3607, allocations: 0 / 448.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.3607, allocations: 4 kB / 448.9 MB, free: 2.605 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.00334/0.364, allocations: 1.367 MB / 450.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.3641, allocations: 15.89 kB / 450.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/0.3649, allocations: 139.7 kB / 450.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3661, allocations: 0.6922 MB / 451.1 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3663, allocations: 171.6 kB / 451.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.3665, allocations: 91.84 kB / 451.3 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.369, allocations: 1.41 MB / 452.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.369, allocations: 4 kB / 452.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.3691, allocations: 31.98 kB / 452.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.3693, allocations: 81.95 kB / 452.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.3721, allocations: 1.518 MB / 454.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007432/0.3796, allocations: 4.412 MB / 458.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.382, allocations: 1.192 MB / 460 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.3834, allocations: 0.7812 MB / 460.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.3835, allocations: 20.59 kB / 460.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3835, allocations: 47.14 kB / 460.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/0.3835, allocations: 0 / 460.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.007433/0.391, allocations: 3.85 MB / 464.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.391, allocations: 86.11 kB / 464.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.3915, allocations: 401.9 kB / 465.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.3916, allocations: 45.69 kB / 465.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3919, allocations: 344.2 kB / 465.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.3922, allocations: 355 kB / 465.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.3925, allocations: 162.6 kB / 466 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3927, allocations: 378.7 kB / 466.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3937, allocations: 0.5914 MB / 467 MB, free: 4 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3948, allocations: 0.7425 MB / 467.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.397, allocations: 1.391 MB / 469.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.397, allocations: 0 / 469.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002758/0.3998, allocations: 1.607 MB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3998, allocations: 8 kB / 470.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3998, allocations: 4 kB / 470.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.4, allocations: 37.03 kB / 470.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.4025, allocations: 0.4953 MB / 471.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008129/0.4106, allocations: 6.678 MB / 478 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/0.4116, allocations: 79.89 kB / 478 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-05/0.4117, allocations: 32 kB / 478.1 MB, free: 4.258 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.0006345/0.4124, allocations: 317.5 kB / 478.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.4126, allocations: 67.31 kB / 478.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.4155, allocations: 1.6 MB / 480 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.4156, allocations: 24 kB / 480.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4156, allocations: 0 / 480.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4156, allocations: 3.984 kB / 480.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.4205, allocations: 2.877 MB / 482.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4205, allocations: 96 / 482.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/0.4233, allocations: 0.5346 MB / 483.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.4234, allocations: 32.83 kB / 483.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.4235, allocations: 23.98 kB / 483.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.4253, allocations: 1.638 MB / 485.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4253, allocations: 8.094 kB / 485.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.4296, allocations: 2.539 MB / 487.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.4299, allocations: 136.3 kB / 487.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.43, allocations: 19.98 kB / 487.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.4306, allocations: 71.91 kB / 487.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.4309, allocations: 84.42 kB / 488 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.431, allocations: 24 kB / 488.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004356/0.4314, allocations: 283.1 kB / 488.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4314, allocations: 0 / 488.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4326, allocations: 236 kB / 488.6 MB, free: 9.398 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.0004253/0.433, allocations: 170.6 kB / 488.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4374, allocations: 1.833 MB / 490.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4374, allocations: 0.5625 kB / 490.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.4406, allocations: 1.201 MB / 491.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4417, allocations: 163.8 kB / 491.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.4474, allocations: 2.587 MB / 494.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.4484, allocations: 1.084 MB / 495.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008137/0.4492, allocations: 261.6 kB / 495.8 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.4495, allocations: 63.42 kB / 495.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4495, allocations: 0 / 495.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Templates: time 0.02294/0.4724, allocations: 10.9 MB / 0.4949 GB, free: 7.062 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)