Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 110.9 kB / 17.75 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.001109/0.00111, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1829/0.1829, allocations: 38.03 MB / 330.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 58.06 MB / 0.5048 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006661/0.3098, allocations: 6.085 MB / 0.5107 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3122, allocations: 1.418 MB / 0.5121 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.3127, allocations: 27.47 kB / 0.5121 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.3133, allocations: 139.1 kB / 0.5123 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3143, allocations: 385.9 kB / 0.5126 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.3149, allocations: 199.6 kB / 0.5128 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3161, allocations: 0.9229 MB / 0.5137 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.3165, allocations: 274.9 kB / 0.514 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.3172, allocations: 414.9 kB / 0.5144 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008475/0.3181, allocations: 468.8 kB / 0.5148 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.3182, allocations: 47.25 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3185, allocations: 47.22 kB / 0.5149 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.3188, allocations: 261.6 kB / 0.5152 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.3192, allocations: 327.3 kB / 0.5155 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000791/0.32, allocations: 0.6685 MB / 0.5161 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3201, allocations: 5.438 kB / 0.5161 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3201, allocations: 0 / 0.5161 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.703e-05/0.3201, allocations: 0 / 0.5161 GB, free: 0.6797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00204/0.3221, allocations: 0.9503 MB / 0.5171 GB, free: 12 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3222, allocations: 11.95 kB / 0.5171 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.3224, allocations: 73.33 kB / 0.5171 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.3237, allocations: 0.5506 MB / 0.5177 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.3237, allocations: 48.31 kB / 0.5177 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3239, allocations: 48.64 kB / 0.5178 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3252, allocations: 0.6207 MB / 0.5184 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3252, allocations: 4.656 kB / 0.5184 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.3253, allocations: 21.75 kB / 0.5184 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.3254, allocations: 33 kB / 0.5184 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.3263, allocations: 0.5052 MB / 0.5189 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.3302, allocations: 2.224 MB / 0.5211 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.3311, allocations: 0.4961 MB / 0.5216 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.3319, allocations: 350.9 kB / 0.5219 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.332, allocations: 8.875 kB / 0.5219 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.332, allocations: 38.92 kB / 0.522 GB, free: 13.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.895e-06/0.332, allocations: 0 / 0.522 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003708/0.3357, allocations: 1.736 MB / 0.5237 GB, free: 12.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3358, allocations: 91.34 kB / 0.5237 GB, free: 12.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.3363, allocations: 420.3 kB / 0.5241 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3363, allocations: 33.2 kB / 0.5242 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3365, allocations: 294.9 kB / 0.5245 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3367, allocations: 165.5 kB / 0.5246 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.3369, allocations: 102.2 kB / 0.5247 GB, free: 11.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.337, allocations: 359.7 kB / 0.5251 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.3373, allocations: 185.8 kB / 0.5252 GB, free: 11.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.3377, allocations: 311.9 kB / 0.5255 GB, free: 11.02 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.3405, allocations: 1.238 MB / 0.5267 GB, free: 10.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3405, allocations: 1.156 kB / 0.5267 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001242/0.3417, allocations: 0.712 MB / 0.5274 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3417, allocations: 7.828 kB / 0.5274 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.3418, allocations: 7.094 kB / 0.5274 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.3422, allocations: 135 kB / 0.5276 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.3427, allocations: 111.3 kB / 0.5277 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.3458, allocations: 2.608 MB / 0.5302 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.3462, allocations: 26.61 kB / 0.5303 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.3462, allocations: 19.38 kB / 0.5303 GB, free: 8.145 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.3466, allocations: 226.2 kB / 0.5305 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.3467, allocations: 63.45 kB / 0.5305 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3479, allocations: 0.6546 MB / 0.5312 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3479, allocations: 4.031 kB / 0.5312 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3479, allocations: 0 / 0.5312 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3481, allocations: 122 kB / 0.5313 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.3482, allocations: 15.44 kB / 0.5313 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3484, allocations: 17.94 kB / 0.5313 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3485, allocations: 39.11 kB / 0.5314 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001686/0.3502, allocations: 0.8474 MB / 0.5322 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001236/0.3515, allocations: 1.012 MB / 0.5332 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003243/0.3518, allocations: 227.8 kB / 0.5334 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003296/0.3521, allocations: 295.6 kB / 0.5337 GB, free: 6.277 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3522, allocations: 0 / 0.5337 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3535, allocations: 0.5625 MB / 0.5342 GB, free: 5.902 MB / 398.1 MB Notification: Performance of SimCode: time 0.002334/0.3558, allocations: 1.746 MB / 0.5359 GB, free: 4.609 MB / 398.1 MB Notification: Performance of Templates: time 0.01362/0.3695, allocations: 7.182 MB / 0.543 GB, free: 0.8516 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1)