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.001051/0.001051, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1586/0.1586, allocations: 5.388 MB / 295.8 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.14 kB / 360.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09968, allocations: 50.62 MB / 411.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01089/0.1106, allocations: 10.1 MB / 421.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1827/0.2933, allocations: 3.504 MB / 425.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.2947, allocations: 69.44 kB / 425.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005717/0.3005, allocations: 3.23 MB / 428.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.3034, allocations: 1.007 MB / 429.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.3053, allocations: 0.9513 MB / 430.4 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003187/0.3085, allocations: 4.204 MB / 434.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009212/0.3177, allocations: 10.68 MB / 445.3 MB, free: 31.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.3201, allocations: 2.357 MB / 447.6 MB, free: 30.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.3235, allocations: 2.644 MB / 450.3 MB, free: 29.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3247, allocations: 0.7207 MB / 451 MB, free: 29.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.3269, allocations: 0.9893 MB / 452 MB, free: 29.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009377/0.3278, allocations: 1.336 MB / 453.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3304, allocations: 2.602 MB / 455.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009323/0.3397, allocations: 9.039 MB / 465 MB, free: 23.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3397, allocations: 8 kB / 465 MB, free: 23.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3398, allocations: 0 / 465 MB, free: 23.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002981/0.3401, allocations: 0 / 465 MB, free: 23.48 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.01831/0.3584, allocations: 5.335 MB / 470.3 MB, free: 20.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3584, allocations: 8.906 kB / 470.3 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.3688, allocations: 1.588 MB / 471.9 MB, free: 20.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/0.3748, allocations: 2.858 MB / 474.8 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.3751, allocations: 332 kB / 475.1 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.3762, allocations: 417.4 kB / 475.5 MB, free: 18.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.3888, allocations: 6.661 MB / 482.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/0.3889, allocations: 10.34 kB / 482.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.3893, allocations: 171 kB / 482.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.3895, allocations: 207.9 kB / 482.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009421/0.3989, allocations: 5.614 MB / 488.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.4321, allocations: 22.73 MB / 0.4989 GB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00563/0.4378, allocations: 4.377 MB / 0.5032 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.4391, allocations: 0.8317 MB / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.4393, allocations: 104.2 kB / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.4404, allocations: 0.7818 MB / 0.5049 GB, free: 14.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 2.605e-06/0.4405, allocations: 0 / 0.5049 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.004771/0.4452, allocations: 2.236 MB / 0.507 GB, free: 11.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4453, allocations: 153.4 kB / 0.5072 GB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.4479, allocations: 1.818 MB / 0.509 GB, free: 9.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-05/0.448, allocations: 45.7 kB / 0.509 GB, free: 9.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.4497, allocations: 1.966 MB / 0.5109 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.4501, allocations: 384.3 kB / 0.5113 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007693/0.4508, allocations: 0.5432 MB / 0.5118 GB, free: 6.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.4509, allocations: 301.1 kB / 0.5121 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4526, allocations: 1.078 MB / 0.5132 GB, free: 5.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.455, allocations: 2.177 MB / 0.5153 GB, free: 2.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/0.4591, allocations: 3.365 MB / 0.5186 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.4591, allocations: 12 kB / 0.5186 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005734/0.4649, allocations: 3.474 MB / 0.522 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.4649, allocations: 45.7 kB / 0.522 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/0.465, allocations: 39.98 kB / 0.5221 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.4655, allocations: 128.9 kB / 0.5222 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.4676, allocations: 0.6083 MB / 0.5228 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.4694, allocations: 1.644 MB / 0.5244 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.4716, allocations: 364.8 kB / 0.5247 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.4719, allocations: 136 kB / 0.5249 GB, free: 8.367 MB / 398.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.003024/0.4749, allocations: 1.72 MB / 0.5265 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.4753, allocations: 166 kB / 0.5267 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.4786, allocations: 1.778 MB / 0.5284 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002274/0.4808, allocations: 1.418 MB / 0.5298 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4809, allocations: 4 kB / 0.5298 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4809, allocations: 3.984 kB / 0.5298 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.4907, allocations: 5.153 MB / 0.5349 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4907, allocations: 7.938 kB / 0.5349 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.4916, allocations: 207.7 kB / 0.5351 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.4921, allocations: 262.5 kB / 0.5353 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.4922, allocations: 31.98 kB / 0.5353 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009972/0.4932, allocations: 0.8209 MB / 0.5361 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4933, allocations: 4.062 kB / 0.5361 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.4985, allocations: 2.724 MB / 0.5388 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/0.4993, allocations: 370.8 kB / 0.5392 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.4996, allocations: 35.91 kB / 0.5392 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.5004, allocations: 83.84 kB / 0.5393 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.5006, allocations: 64.91 kB / 0.5393 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.5007, allocations: 39.98 kB / 0.5394 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.5025, allocations: 1.241 MB / 0.5406 GB, free: 8.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5025, allocations: 0 / 0.5406 GB, free: 8.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002925/0.5054, allocations: 0.9366 MB / 0.5415 GB, free: 7.102 MB / 414.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.0004495/0.5059, allocations: 204.2 kB / 0.5417 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005807/0.5117, allocations: 2.887 MB / 0.5445 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5117, allocations: 4 kB / 0.5445 GB, free: 3.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.513, allocations: 0.7819 MB / 0.5453 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.5149, allocations: 373.5 kB / 0.5456 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5263, allocations: 6.455 MB / 0.5519 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/0.529, allocations: 3.025 MB / 0.5549 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002244/0.5313, allocations: 0.854 MB / 0.5557 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.5317, allocations: 139.3 kB / 0.5559 GB, free: 8.289 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5317, allocations: 0 / 0.5559 GB, free: 8.289 MB / 430.1 MB Notification: Performance of Templates: time 0.04136/0.5731, allocations: 24.36 MB / 0.5797 GB, free: 120 kB / 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)