Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.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/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 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(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008931/0.008931, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.002826/0.002827, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0268/0.0268, allocations: 5.405 MB / 295.9 MB, free: 9.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.91 kB / 409.3 MB, free: 25.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 50.62 MB / 459.9 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.00821/0.1204, allocations: 6.917 MB / 466.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.1254, allocations: 2.391 MB / 469.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009085/0.1264, allocations: 43.81 kB / 469.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1275, allocations: 460.6 kB / 469.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.1289, allocations: 456.9 kB / 470.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.1298, allocations: 434.6 kB / 470.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.1321, allocations: 2.208 MB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.1346, allocations: 2.483 MB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.1358, allocations: 1.071 MB / 476.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.1374, allocations: 1.319 MB / 477.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.1378, allocations: 312 kB / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.1383, allocations: 332 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.139, allocations: 0.748 MB / 479 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.1402, allocations: 1.275 MB / 480.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.1437, allocations: 3.628 MB / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1437, allocations: 0 / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1438, allocations: 0 / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.59e-05/0.1438, allocations: 0 / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.006656/0.1505, allocations: 2.825 MB / 486.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.1506, allocations: 8.031 kB / 486.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.1512, allocations: 259.3 kB / 487 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.1539, allocations: 1.532 MB / 488.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1541, allocations: 156.1 kB / 488.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.1544, allocations: 196 kB / 488.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.1594, allocations: 2.673 MB / 491.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.1594, allocations: 3.984 kB / 491.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.1596, allocations: 80 kB / 491.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/0.1597, allocations: 84.05 kB / 491.7 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.1637, allocations: 2.206 MB / 493.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.176, allocations: 7.884 MB / 0.4901 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.178, allocations: 1.204 MB / 0.4912 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.1789, allocations: 0.4983 MB / 0.4917 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.1789, allocations: 12.55 kB / 0.4917 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/0.1799, allocations: 0.5272 MB / 0.4923 GB, free: 10.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 2.995e-06/0.1799, allocations: 0 / 0.4923 GB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.00505/0.185, allocations: 1.813 MB / 0.494 GB, free: 8.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.1851, allocations: 153 kB / 0.4942 GB, free: 8.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.1865, allocations: 1.06 MB / 0.4952 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.1866, allocations: 37.7 kB / 0.4952 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.1874, allocations: 0.9911 MB / 0.4962 GB, free: 6.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.1877, allocations: 245.9 kB / 0.4964 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.188, allocations: 186.5 kB / 0.4966 GB, free: 5.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1881, allocations: 349.9 kB / 0.497 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.189, allocations: 456.6 kB / 0.4974 GB, free: 4.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.19, allocations: 0.7281 MB / 0.4981 GB, free: 4.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.1919, allocations: 1.247 MB / 0.4993 GB, free: 2.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.192, allocations: 0 / 0.4993 GB, free: 2.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002629/0.1946, allocations: 1.409 MB / 0.5007 GB, free: 1.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1946, allocations: 37.7 kB / 0.5007 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1947, allocations: 8 kB / 0.5007 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.1951, allocations: 88.97 kB / 0.5008 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/0.1961, allocations: 247.6 kB / 0.5011 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3023/0.4984, allocations: 1.579 MB / 0.5026 GB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.5002, allocations: 146.7 kB / 0.5027 GB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5003, allocations: 41.78 kB / 0.5028 GB, free: 47.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002563/0.5029, allocations: 0.9993 MB / 0.5038 GB, free: 47.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001184/0.5041, allocations: 0.7154 MB / 0.5045 GB, free: 46.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001876/0.506, allocations: 1.222 MB / 0.5057 GB, free: 46.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.536e-06/0.506, allocations: 3.766 kB / 0.5057 GB, free: 46.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.003234/0.5092, allocations: 1.391 MB / 0.507 GB, free: 46.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.5093, allocations: 40.06 kB / 0.5071 GB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5093, allocations: 11.47 kB / 0.5071 GB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/0.5097, allocations: 83.14 kB / 0.5071 GB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/0.5107, allocations: 246.5 kB / 0.5074 GB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.5119, allocations: 1.585 MB / 0.5089 GB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.5129, allocations: 127 kB / 0.509 GB, free: 44.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.513, allocations: 44.2 kB / 0.5091 GB, free: 44.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.5134, allocations: 274.3 kB / 0.5094 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5136, allocations: 117.2 kB / 0.5095 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.5173, allocations: 1.396 MB / 0.5108 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5173, allocations: 7.156 kB / 0.5108 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5173, allocations: 0 / 0.5108 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5173, allocations: 3.422 kB / 0.5108 GB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.5232, allocations: 2.932 MB / 0.5137 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5232, allocations: 3.938 kB / 0.5137 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.524, allocations: 134 kB / 0.5138 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.5248, allocations: 265.3 kB / 0.5141 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.5249, allocations: 21.78 kB / 0.5141 GB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.526, allocations: 0.8203 MB / 0.5149 GB, free: 41.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.526, allocations: 4.453 kB / 0.5149 GB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.5293, allocations: 1.797 MB / 0.5167 GB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.5298, allocations: 283.8 kB / 0.5169 GB, free: 40.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.53, allocations: 15.92 kB / 0.517 GB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.5306, allocations: 70.48 kB / 0.517 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5308, allocations: 52.06 kB / 0.5171 GB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.5309, allocations: 24.88 kB / 0.5171 GB, free: 40.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.5321, allocations: 0.7306 MB / 0.5178 GB, free: 40.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5322, allocations: 0 / 0.5178 GB, free: 40.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002534/0.5347, allocations: 0.8551 MB / 0.5186 GB, free: 40.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.5349, allocations: 128.7 kB / 0.5188 GB, free: 40.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.5385, allocations: 2.052 MB / 0.5208 GB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.5385, allocations: 0 / 0.5208 GB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5396, allocations: 0.5783 MB / 0.5213 GB, free: 38.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5409, allocations: 262.4 kB / 0.5216 GB, free: 38.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.5468, allocations: 3.412 MB / 0.5249 GB, free: 37.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.548, allocations: 1.707 MB / 0.5266 GB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000985/0.549, allocations: 373.6 kB / 0.5269 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5493, allocations: 84.61 kB / 0.527 GB, free: 36.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5493, allocations: 3.719 kB / 0.527 GB, free: 36.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02458/0.5738, allocations: 15.15 MB / 0.5418 GB, free: 21.41 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)