Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 107 kB / 17.75 MB, free: 5.348 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.001034/0.001034, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1685/0.1685, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2773, allocations: 58.07 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005831/0.2832, allocations: 6.251 MB / 0.5109 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2851, allocations: 1.422 MB / 0.5123 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2854, allocations: 22.53 kB / 0.5123 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.2859, allocations: 139.8 kB / 0.5124 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.2867, allocations: 420 kB / 0.5128 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.2872, allocations: 193.4 kB / 0.513 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2882, allocations: 1.087 MB / 0.5141 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005538/0.2888, allocations: 355 kB / 0.5144 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.2896, allocations: 476.5 kB / 0.5149 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.2905, allocations: 0.5217 MB / 0.5154 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.2907, allocations: 65 kB / 0.5154 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2908, allocations: 65.06 kB / 0.5155 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.2912, allocations: 313 kB / 0.5158 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.2916, allocations: 362.1 kB / 0.5162 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2928, allocations: 0.8472 MB / 0.517 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2929, allocations: 1.156 kB / 0.517 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2929, allocations: 0 / 0.517 GB, free: 392 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.2929, allocations: 0.5 kB / 0.517 GB, free: 392 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002015/0.2949, allocations: 1.023 MB / 0.518 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.295, allocations: 8.969 kB / 0.518 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.2951, allocations: 76.88 kB / 0.5181 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.2961, allocations: 0.5763 MB / 0.5186 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.2963, allocations: 122.2 kB / 0.5187 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2964, allocations: 55.64 kB / 0.5188 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2977, allocations: 0.7774 MB / 0.5196 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2977, allocations: 0 / 0.5196 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.2978, allocations: 21.31 kB / 0.5196 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2979, allocations: 44.55 kB / 0.5196 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.2993, allocations: 0.7152 MB / 0.5203 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.3031, allocations: 2.602 MB / 0.5229 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.3047, allocations: 0.8061 MB / 0.5236 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.3054, allocations: 395.8 kB / 0.524 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3054, allocations: 10.73 kB / 0.524 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3055, allocations: 38.27 kB / 0.5241 GB, free: 12.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.034e-06/0.3055, allocations: 0 / 0.5241 GB, free: 12.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.00411/0.3096, allocations: 2.149 MB / 0.5262 GB, free: 11.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3096, allocations: 86.27 kB / 0.5262 GB, free: 11.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.3101, allocations: 406.8 kB / 0.5266 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.3101, allocations: 32.58 kB / 0.5267 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3103, allocations: 291.4 kB / 0.5269 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3105, allocations: 187.7 kB / 0.5271 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3107, allocations: 96.41 kB / 0.5272 GB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3108, allocations: 359.5 kB / 0.5276 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.3114, allocations: 283.5 kB / 0.5278 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.312, allocations: 381.2 kB / 0.5282 GB, free: 9.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3131, allocations: 0.65 MB / 0.5288 GB, free: 9.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3131, allocations: 1.031 kB / 0.5288 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001475/0.3146, allocations: 0.8723 MB / 0.5297 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3146, allocations: 5.969 kB / 0.5297 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3147, allocations: 7.203 kB / 0.5297 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.3149, allocations: 81.45 kB / 0.5298 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.3163, allocations: 308.6 kB / 0.5301 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.3221, allocations: 6.531 MB / 0.5364 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.3225, allocations: 40.11 kB / 0.5365 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.3226, allocations: 19.03 kB / 0.5365 GB, free: 2.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0003311/0.3229, allocations: 247.2 kB / 0.5367 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.323, allocations: 54.38 kB / 0.5368 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3245, allocations: 0.8274 MB / 0.5376 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3245, allocations: 0 / 0.5376 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3245, allocations: 5.047 kB / 0.5376 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3247, allocations: 119 kB / 0.5377 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.3248, allocations: 11.69 kB / 0.5377 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3251, allocations: 37.98 kB / 0.5378 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3252, allocations: 44.77 kB / 0.5378 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00295/0.3282, allocations: 1.198 MB / 0.539 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001943/0.3302, allocations: 1.277 MB / 0.5402 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005983/0.3308, allocations: 338.8 kB / 0.5405 GB, free: 124 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003387/0.3311, allocations: 278 kB / 0.5408 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Backend: time 6.11e-07/0.3311, allocations: 5 kB / 0.5408 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.3337, allocations: 0.8928 MB / 0.5417 GB, free: 15.38 MB / 414.1 MB Notification: Performance of SimCode: time 0.002522/0.3362, allocations: 1.795 MB / 0.5434 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.01515/0.3514, allocations: 8.577 MB / 0.5518 GB, free: 7.25 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)