Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 110.2 kB / 17.75 MB, free: 5.332 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.001806/0.001806, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1738/0.1738, allocations: 38.04 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.03 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2741, allocations: 58.06 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006144/0.2803, allocations: 6.483 MB / 0.5111 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.283, allocations: 1.884 MB / 0.5129 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.2833, allocations: 29.16 kB / 0.513 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2845, allocations: 439.3 kB / 0.5134 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007587/0.2852, allocations: 424.1 kB / 0.5138 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.286, allocations: 350.3 kB / 0.5141 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009169/0.287, allocations: 1.031 MB / 0.5151 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006109/0.2876, allocations: 0.4934 MB / 0.5156 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.2881, allocations: 463.9 kB / 0.5161 GB, free: 428 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.2889, allocations: 0.5776 MB / 0.5166 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.289, allocations: 65.56 kB / 0.5167 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.2895, allocations: 261.2 kB / 0.5169 GB, free: 144 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.29, allocations: 369.1 kB / 0.5173 GB, free: 12 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.2906, allocations: 428.7 kB / 0.5177 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2919, allocations: 1.042 MB / 0.5187 GB, free: 15.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.292, allocations: 0.7031 kB / 0.5187 GB, free: 15.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.292, allocations: 1.406 kB / 0.5187 GB, free: 15.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.292, allocations: 0 / 0.5187 GB, free: 15.37 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002072/0.2941, allocations: 1.145 MB / 0.5198 GB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2941, allocations: 12.89 kB / 0.5198 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/0.2948, allocations: 133.7 kB / 0.52 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2959, allocations: 0.6107 MB / 0.5206 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.2959, allocations: 56.3 kB / 0.5206 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.2961, allocations: 76.09 kB / 0.5207 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2977, allocations: 1.01 MB / 0.5217 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2977, allocations: 5.094 kB / 0.5217 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.2978, allocations: 27.12 kB / 0.5217 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/0.298, allocations: 74.86 kB / 0.5218 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.2995, allocations: 0.9779 MB / 0.5227 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.3043, allocations: 3.265 MB / 0.5259 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3054, allocations: 0.6951 MB / 0.5266 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.3061, allocations: 424.9 kB / 0.527 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.3061, allocations: 8.969 kB / 0.527 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.3062, allocations: 39.7 kB / 0.5271 GB, free: 10.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.3062, allocations: 0 / 0.5271 GB, free: 10.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.003797/0.31, allocations: 2.451 MB / 0.5294 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.31, allocations: 83.8 kB / 0.5295 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.3105, allocations: 444.4 kB / 0.5299 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.3106, allocations: 40.52 kB / 0.53 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3108, allocations: 367.1 kB / 0.5303 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.311, allocations: 275 kB / 0.5306 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3113, allocations: 149.9 kB / 0.5307 GB, free: 8.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3114, allocations: 375.2 kB / 0.5311 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.3119, allocations: 348.5 kB / 0.5314 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.3126, allocations: 0.5205 MB / 0.5319 GB, free: 7.805 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.3177, allocations: 2.23 MB / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3177, allocations: 2.156 kB / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001628/0.3194, allocations: 1.102 MB / 0.5352 GB, free: 5.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3194, allocations: 11.14 kB / 0.5352 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3194, allocations: 4.938 kB / 0.5352 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.3196, allocations: 35.38 kB / 0.5352 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.3203, allocations: 196.5 kB / 0.5354 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.3215, allocations: 1.508 MB / 0.5369 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.322, allocations: 40.48 kB / 0.5369 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.3221, allocations: 32.19 kB / 0.537 GB, free: 4.309 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[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.3224, allocations: 278.4 kB / 0.5372 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.3226, allocations: 67.91 kB / 0.5373 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.3241, allocations: 0.9673 MB / 0.5382 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3241, allocations: 5.109 kB / 0.5383 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3241, allocations: 1.188 kB / 0.5383 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3243, allocations: 144.5 kB / 0.5384 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.3243, allocations: 12.59 kB / 0.5384 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.3247, allocations: 26.56 kB / 0.5384 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.3248, allocations: 41.03 kB / 0.5385 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001994/0.3268, allocations: 1.106 MB / 0.5396 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001859/0.3287, allocations: 1.561 MB / 0.5411 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005005/0.3292, allocations: 397.9 kB / 0.5415 GB, free: 1.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.3295, allocations: 298.8 kB / 0.5417 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Backend: time 4.5e-07/0.3295, allocations: 0 / 0.5417 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3312, allocations: 0.8226 MB / 0.5425 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 0.002591/0.3338, allocations: 2.105 MB / 0.5446 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Templates: time 0.01662/0.3504, allocations: 10.03 MB / 0.5544 GB, free: 4.918 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1)