Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.001401/0.001401, allocations: 102.5 kB / 17.74 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.0018/0.0018, allocations: 197.2 kB / 18.67 MB, free: 4.383 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.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 58.05 MB / 0.5048 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006397/0.2845, allocations: 6.682 MB / 0.5113 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.2877, allocations: 2.124 MB / 0.5134 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.2879, allocations: 23.88 kB / 0.5134 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2892, allocations: 0.5099 MB / 0.5139 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009985/0.2902, allocations: 0.5651 MB / 0.5144 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.291, allocations: 349.3 kB / 0.5148 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.2921, allocations: 1.293 MB / 0.516 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.2929, allocations: 0.7365 MB / 0.5168 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.2937, allocations: 0.5542 MB / 0.5173 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.2948, allocations: 0.7347 MB / 0.518 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.2951, allocations: 109.2 kB / 0.5181 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.2962, allocations: 0.5954 MB / 0.5187 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005072/0.2967, allocations: 476.9 kB / 0.5192 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005877/0.2973, allocations: 0.534 MB / 0.5197 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.299, allocations: 1.523 MB / 0.5212 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.299, allocations: 1.031 kB / 0.5212 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.299, allocations: 8.734 kB / 0.5212 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.299, allocations: 3.938 kB / 0.5212 GB, free: 14.27 MB / 398.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.002961/0.302, allocations: 1.365 MB / 0.5225 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.302, allocations: 12.67 kB / 0.5225 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.3027, allocations: 140.1 kB / 0.5227 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.3042, allocations: 0.6943 MB / 0.5233 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.3044, allocations: 171.2 kB / 0.5235 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.3046, allocations: 92.94 kB / 0.5236 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.3069, allocations: 1.408 MB / 0.525 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.307, allocations: 1.344 kB / 0.525 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.3071, allocations: 39.23 kB / 0.525 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.3073, allocations: 79.59 kB / 0.5251 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.31, allocations: 1.519 MB / 0.5266 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006568/0.3166, allocations: 4.423 MB / 0.5309 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.3188, allocations: 1.195 MB / 0.532 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3201, allocations: 0.7766 MB / 0.5328 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/0.3201, allocations: 12.36 kB / 0.5328 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3202, allocations: 43.5 kB / 0.5329 GB, free: 7.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.3202, allocations: 0 / 0.5329 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.006708/0.3269, allocations: 3.859 MB / 0.5366 GB, free: 5.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.327, allocations: 86.67 kB / 0.5367 GB, free: 5.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.3274, allocations: 404.5 kB / 0.5371 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.3275, allocations: 41.05 kB / 0.5371 GB, free: 5.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.3277, allocations: 346.1 kB / 0.5375 GB, free: 4.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.328, allocations: 350.2 kB / 0.5378 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.3282, allocations: 161.1 kB / 0.538 GB, free: 4.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3284, allocations: 380.6 kB / 0.5383 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.3294, allocations: 0.5969 MB / 0.5389 GB, free: 3.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3307, allocations: 0.7419 MB / 0.5396 GB, free: 3.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.3329, allocations: 1.381 MB / 0.541 GB, free: 2.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3329, allocations: 4.969 kB / 0.541 GB, free: 2.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002664/0.3356, allocations: 1.591 MB / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3356, allocations: 8.188 kB / 0.5425 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3356, allocations: 8 kB / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.3358, allocations: 40.83 kB / 0.5426 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.3382, allocations: 0.4993 MB / 0.5431 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006286/0.3445, allocations: 6.69 MB / 0.5496 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.3452, allocations: 79.89 kB / 0.5497 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.3453, allocations: 32 kB / 0.5497 GB, free: 9.488 MB / 414.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.0004808/0.3458, allocations: 321.5 kB / 0.55 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.346, allocations: 71.09 kB / 0.5501 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.3488, allocations: 1.588 MB / 0.5516 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3488, allocations: 3.984 kB / 0.5516 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3488, allocations: 3.984 kB / 0.5516 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.349, allocations: 132.3 kB / 0.5518 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3491, allocations: 19.98 kB / 0.5518 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.3497, allocations: 79.89 kB / 0.5519 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.3499, allocations: 80.81 kB / 0.5519 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005042/0.3549, allocations: 2.104 MB / 0.554 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003783/0.3587, allocations: 2.523 MB / 0.5565 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001111/0.3599, allocations: 0.7377 MB / 0.5572 GB, free: 1.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.3602, allocations: 283.1 kB / 0.5575 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Backend: time 5.01e-07/0.3602, allocations: 0 / 0.5575 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.3644, allocations: 1.425 MB / 0.5588 GB, free: 24 kB / 414.1 MB Notification: Performance of SimCode: time 0.004617/0.369, allocations: 2.337 MB / 0.5611 GB, free: 13.63 MB / 430.1 MB Notification: Performance of Templates: time 0.02393/0.393, allocations: 15.23 MB / 0.576 GB, free: 14.5 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)