Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00153/0.001531, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1554/0.1554, allocations: 5.374 MB / 296.4 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 11.98 kB / 361.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 51.6 MB / 413.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01482/0.1444, allocations: 8.236 MB / 421.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2588/0.4032, allocations: 3.256 MB / 424.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.4054, allocations: 58.59 kB / 425 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.4072, allocations: 0.5565 MB / 425.5 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4104, allocations: 0.8403 MB / 426.4 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4122, allocations: 0.6986 MB / 427.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00405/0.4162, allocations: 2.675 MB / 429.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.4299, allocations: 8.464 MB / 438.2 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.4325, allocations: 1.476 MB / 439.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4351, allocations: 1.733 MB / 441.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.4357, allocations: 279.1 kB / 441.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.4372, allocations: 498.2 kB / 442.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.4378, allocations: 0.7548 MB / 442.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.4389, allocations: 0.885 MB / 443.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007468/0.4464, allocations: 7.637 MB / 451.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4465, allocations: 3.938 kB / 451.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4465, allocations: 0 / 451.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002725/0.4467, allocations: 0 / 451.4 MB, free: 33.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01378/0.4605, allocations: 4.428 MB / 455.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4606, allocations: 9.25 kB / 455.9 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.4717, allocations: 1.59 MB / 457.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007794/0.4795, allocations: 2.818 MB / 460.3 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.4799, allocations: 318.6 kB / 460.6 MB, free: 29.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.482, allocations: 417.1 kB / 461 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4988, allocations: 6.629 MB / 467.6 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.499, allocations: 5.344 kB / 467.6 MB, free: 26.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000507/0.4995, allocations: 173 kB / 467.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003412/0.4999, allocations: 210.1 kB / 468 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.511, allocations: 5.631 MB / 473.6 MB, free: 23.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/0.5523, allocations: 22.79 MB / 496.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.5577, allocations: 4.431 MB / 0.4891 GB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.5579, allocations: 111.3 kB / 0.4892 GB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.5596, allocations: 0.8418 MB / 0.4901 GB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 6.623e-06/0.5596, allocations: 3.938 kB / 0.4901 GB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.005716/0.5653, allocations: 2.76 MB / 0.4928 GB, free: 12.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5655, allocations: 157.5 kB / 0.4929 GB, free: 12.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.5697, allocations: 1.799 MB / 0.4947 GB, free: 10.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.5699, allocations: 49.7 kB / 0.4947 GB, free: 10.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.5724, allocations: 1.953 MB / 0.4966 GB, free: 8.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000621/0.573, allocations: 408.8 kB / 0.497 GB, free: 8.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.5733, allocations: 52 kB / 0.4971 GB, free: 8.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.5736, allocations: 411.1 kB / 0.4974 GB, free: 7.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5759, allocations: 1.133 MB / 0.4986 GB, free: 6.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/0.5789, allocations: 2.223 MB / 0.5007 GB, free: 3.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.5817, allocations: 1.683 MB / 0.5024 GB, free: 2.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.5818, allocations: 16 kB / 0.5024 GB, free: 2.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.007147/0.5889, allocations: 3.58 MB / 0.5059 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.5891, allocations: 53.69 kB / 0.5059 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.5892, allocations: 36 kB / 0.506 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.5897, allocations: 136.7 kB / 0.5061 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.5921, allocations: 0.6124 MB / 0.5067 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.5937, allocations: 1.533 MB / 0.5082 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.5968, allocations: 369.1 kB / 0.5085 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006501/0.5975, allocations: 140 kB / 0.5087 GB, free: 11.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004583/0.6021, allocations: 1.716 MB / 0.5104 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005901/0.6027, allocations: 161.9 kB / 0.5105 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.6068, allocations: 1.906 MB / 0.5124 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002741/0.6096, allocations: 1.546 MB / 0.5139 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6096, allocations: 4 kB / 0.5139 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.6097, allocations: 7.969 kB / 0.5139 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.6238, allocations: 5.368 MB / 0.5191 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.6239, allocations: 0 / 0.5191 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/0.6248, allocations: 215.9 kB / 0.5193 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006462/0.6255, allocations: 266.1 kB / 0.5196 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.6257, allocations: 35.98 kB / 0.5196 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.6268, allocations: 0.8428 MB / 0.5204 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6268, allocations: 4 kB / 0.5205 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/0.632, allocations: 2.861 MB / 0.5232 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.6334, allocations: 390.6 kB / 0.5236 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005275/0.6339, allocations: 28 kB / 0.5236 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6351, allocations: 83.97 kB / 0.5237 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.6353, allocations: 76.86 kB / 0.5238 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.6354, allocations: 39.98 kB / 0.5238 GB, free: 11.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.6382, allocations: 1.221 MB / 0.525 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6382, allocations: 0 / 0.525 GB, free: 10.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003942/0.6422, allocations: 0.9483 MB / 0.526 GB, free: 9.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005326/0.6427, allocations: 200.4 kB / 0.5261 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005065/0.6478, allocations: 2.577 MB / 0.5287 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6478, allocations: 0 / 0.5287 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.6494, allocations: 0.8484 MB / 0.5295 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.6514, allocations: 328.5 kB / 0.5298 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.667, allocations: 7.884 MB / 0.5375 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/0.6718, allocations: 3.098 MB / 0.5405 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002731/0.6745, allocations: 0.8503 MB / 0.5414 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006413/0.6752, allocations: 135.4 kB / 0.5415 GB, free: 9.516 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6752, allocations: 0 / 0.5415 GB, free: 9.516 MB / 414.1 MB Notification: Performance of Templates: time 0.05031/0.7255, allocations: 23.26 MB / 0.5642 GB, free: 2.441 MB / 430.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) Environment - environmentSimulation: