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.00127/0.00127, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.001305/0.001305, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.313/1.313, 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.1679/0.1679, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3047, allocations: 58.06 MB / 0.5048 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00641/0.3111, allocations: 6.249 MB / 0.5109 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3134, allocations: 1.428 MB / 0.5123 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.3137, allocations: 26.59 kB / 0.5123 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.3142, allocations: 136 kB / 0.5124 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007617/0.3149, allocations: 413.9 kB / 0.5128 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3154, allocations: 196 kB / 0.513 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3165, allocations: 1.084 MB / 0.5141 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.3169, allocations: 358 kB / 0.5144 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006046/0.3176, allocations: 468.2 kB / 0.5149 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/0.3183, allocations: 0.526 MB / 0.5154 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3184, allocations: 65.47 kB / 0.5154 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.3186, allocations: 64.91 kB / 0.5155 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.3189, allocations: 309.8 kB / 0.5158 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.3193, allocations: 368.8 kB / 0.5161 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3203, allocations: 0.8405 MB / 0.517 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3203, allocations: 0 / 0.517 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3203, allocations: 0.5625 kB / 0.517 GB, free: 288 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3203, allocations: 0 / 0.517 GB, free: 288 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.002418/0.3228, allocations: 1.012 MB / 0.518 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3228, allocations: 9.281 kB / 0.518 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.323, allocations: 72.16 kB / 0.518 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.3243, allocations: 0.5771 MB / 0.5186 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3245, allocations: 118 kB / 0.5187 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3246, allocations: 55.38 kB / 0.5188 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.326, allocations: 0.7767 MB / 0.5195 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3261, allocations: 1.219 kB / 0.5195 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.3261, allocations: 21.81 kB / 0.5195 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.3262, allocations: 39.08 kB / 0.5196 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3277, allocations: 0.7242 MB / 0.5203 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.3317, allocations: 2.593 MB / 0.5228 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3333, allocations: 0.8025 MB / 0.5236 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.334, allocations: 399.1 kB / 0.524 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.3341, allocations: 10.5 kB / 0.524 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3341, allocations: 38.45 kB / 0.524 GB, free: 12.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/0.3341, allocations: 0 / 0.524 GB, free: 12.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004218/0.3384, allocations: 2.136 MB / 0.5261 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3384, allocations: 91.33 kB / 0.5262 GB, free: 11.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3389, allocations: 394.9 kB / 0.5266 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.3389, allocations: 39.08 kB / 0.5266 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3391, allocations: 288 kB / 0.5269 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.3393, allocations: 179 kB / 0.5271 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3395, allocations: 99.61 kB / 0.5272 GB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3396, allocations: 359.1 kB / 0.5275 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.3402, allocations: 279.3 kB / 0.5278 GB, free: 9.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.3408, allocations: 381.4 kB / 0.5281 GB, free: 9.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.342, allocations: 0.6496 MB / 0.5288 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.342, allocations: 1.312 kB / 0.5288 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001585/0.3436, allocations: 0.8733 MB / 0.5296 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3436, allocations: 6.344 kB / 0.5296 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3437, allocations: 3.562 kB / 0.5296 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.3439, allocations: 76.78 kB / 0.5297 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.3454, allocations: 307 kB / 0.53 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.3512, allocations: 6.532 MB / 0.5364 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.3516, allocations: 44.23 kB / 0.5364 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3516, allocations: 18.53 kB / 0.5364 GB, free: 2.723 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.0003328/0.3519, allocations: 238.7 kB / 0.5367 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.3521, allocations: 51.16 kB / 0.5367 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3536, allocations: 0.8268 MB / 0.5375 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3536, allocations: 3.984 kB / 0.5375 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3536, allocations: 4.984 kB / 0.5375 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3537, allocations: 115.1 kB / 0.5376 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.3538, allocations: 12.47 kB / 0.5376 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.3542, allocations: 40.91 kB / 0.5377 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3543, allocations: 44.66 kB / 0.5377 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002943/0.3572, allocations: 1.193 MB / 0.5389 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001892/0.3591, allocations: 1.274 MB / 0.5401 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005637/0.3597, allocations: 331.7 kB / 0.5404 GB, free: 156 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.36, allocations: 281.1 kB / 0.5407 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.36, allocations: 4 kB / 0.5407 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3625, allocations: 0.8977 MB / 0.5416 GB, free: 15.4 MB / 414.1 MB Notification: Performance of SimCode: time 0.002294/0.3648, allocations: 1.774 MB / 0.5433 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.0136/0.3784, allocations: 8.58 MB / 0.5517 GB, free: 7.398 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)