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.0072/0.0072, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001248/0.001248, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1656/0.1656, allocations: 5.389 MB / 295.9 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 59.89 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2941, allocations: 50.62 MB / 463.4 MB, free: 21.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01144/0.3056, allocations: 10.1 MB / 473.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008361/0.314, allocations: 3.523 MB / 477 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.3166, allocations: 70.34 kB / 477.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007357/0.324, allocations: 3.217 MB / 480.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.3288, allocations: 1.02 MB / 481.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.3312, allocations: 0.958 MB / 482.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.3366, allocations: 4.24 MB / 486.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.3493, allocations: 10.6 MB / 497.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.3541, allocations: 2.365 MB / 499.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005029/0.3592, allocations: 2.644 MB / 0.4904 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.3607, allocations: 0.7148 MB / 0.4911 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.3635, allocations: 0.988 MB / 0.492 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.3648, allocations: 1.333 MB / 0.4933 GB, free: 7.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.368, allocations: 2.607 MB / 0.4959 GB, free: 4.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.3784, allocations: 9.132 MB / 0.5048 GB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3784, allocations: 0 / 0.5048 GB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3784, allocations: 0 / 0.5048 GB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001917/0.3786, allocations: 0 / 0.5048 GB, free: 11.62 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01488/0.3935, allocations: 5.421 MB / 0.5101 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3936, allocations: 11.97 kB / 0.5101 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009256/0.4028, allocations: 1.61 MB / 0.5117 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/0.4092, allocations: 2.952 MB / 0.5146 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.4096, allocations: 324.5 kB / 0.5149 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.4112, allocations: 416 kB / 0.5153 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.4259, allocations: 6.664 MB / 0.5218 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.545e-05/0.426, allocations: 4 kB / 0.5218 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/0.4265, allocations: 172 kB / 0.5219 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.4268, allocations: 211.9 kB / 0.5222 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4379, allocations: 5.613 MB / 0.5276 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/0.478, allocations: 22.54 MB / 0.5496 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006091/0.4841, allocations: 4.378 MB / 0.5539 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4857, allocations: 0.8239 MB / 0.5547 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.486, allocations: 114 kB / 0.5548 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.4874, allocations: 0.7823 MB / 0.5556 GB, free: 6.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 3.447e-06/0.4874, allocations: 0 / 0.5556 GB, free: 6.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005382/0.4928, allocations: 2.24 MB / 0.5578 GB, free: 3.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.493, allocations: 149.5 kB / 0.5579 GB, free: 3.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.4961, allocations: 1.819 MB / 0.5597 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4962, allocations: 45.69 kB / 0.5597 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.4982, allocations: 2.042 MB / 0.5617 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.4986, allocations: 404.8 kB / 0.5621 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009094/0.4995, allocations: 0.5397 MB / 0.5626 GB, free: 14.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4996, allocations: 309.1 kB / 0.5629 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.5013, allocations: 1.078 MB / 0.564 GB, free: 13.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.5038, allocations: 2.177 MB / 0.5661 GB, free: 10.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.508, allocations: 3.368 MB / 0.5694 GB, free: 6.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/0.508, allocations: 12 kB / 0.5694 GB, free: 6.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006187/0.5142, allocations: 3.483 MB / 0.5728 GB, free: 3.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.5143, allocations: 49.7 kB / 0.5729 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/0.5144, allocations: 36 kB / 0.5729 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.5149, allocations: 128.8 kB / 0.573 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.5171, allocations: 0.6085 MB / 0.5736 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.5189, allocations: 1.64 MB / 0.5752 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.5213, allocations: 381.7 kB / 0.5756 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.5215, allocations: 136 kB / 0.5757 GB, free: 164 kB / 446.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 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.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 (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.3169/0.8384, allocations: 1.711 MB / 0.5774 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/0.839, allocations: 167 kB / 0.5776 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.8428, allocations: 1.77 MB / 0.5793 GB, free: 96.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002558/0.8453, allocations: 1.425 MB / 0.5807 GB, free: 95.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8454, allocations: 1.609 kB / 0.5807 GB, free: 95.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.8454, allocations: 5.25 kB / 0.5807 GB, free: 95.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.8562, allocations: 5.128 MB / 0.5857 GB, free: 93.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.8563, allocations: 1.156 kB / 0.5857 GB, free: 93.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.8572, allocations: 206.2 kB / 0.5859 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.8579, allocations: 261.8 kB / 0.5861 GB, free: 93.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.858, allocations: 29.55 kB / 0.5862 GB, free: 93.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.8591, allocations: 0.8309 MB / 0.587 GB, free: 92.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8591, allocations: 6.25 kB / 0.587 GB, free: 92.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/0.8652, allocations: 2.733 MB / 0.5896 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8662, allocations: 376.3 kB / 0.59 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.8665, allocations: 29.05 kB / 0.59 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.8673, allocations: 86 kB / 0.5901 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.8675, allocations: 70.02 kB / 0.5902 GB, free: 91.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.8676, allocations: 34.77 kB / 0.5902 GB, free: 91.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002254/0.8699, allocations: 1.244 MB / 0.5914 GB, free: 91.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8699, allocations: 0 / 0.5914 GB, free: 91.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003741/0.8736, allocations: 0.9582 MB / 0.5924 GB, free: 90.88 MB / 446.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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004985/0.8742, allocations: 189.7 kB / 0.5925 GB, free: 90.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004943/0.8791, allocations: 2.462 MB / 0.595 GB, free: 89.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8791, allocations: 0.9375 kB / 0.595 GB, free: 89.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.8805, allocations: 0.7852 MB / 0.5957 GB, free: 89.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.8827, allocations: 373.2 kB / 0.5961 GB, free: 89.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.8957, allocations: 6.481 MB / 0.6024 GB, free: 86.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.8987, allocations: 3.024 MB / 0.6054 GB, free: 84.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002364/0.9011, allocations: 0.8491 MB / 0.6062 GB, free: 84.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.9016, allocations: 139.5 kB / 0.6063 GB, free: 84.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9016, allocations: 0 / 0.6063 GB, free: 84.76 MB / 446.1 MB Notification: Performance of Templates: time 0.03805/0.9396, allocations: 25.12 MB / 0.6309 GB, free: 65.48 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile (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)