Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 115.6 kB / 16.37 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.001057/0.001057, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0263/0.0263, allocations: 5.394 MB / 296.6 MB, free: 9.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.89 kB / 362.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2299, allocations: 50.62 MB / 413 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005781/0.2357, allocations: 6.346 MB / 419.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2392, allocations: 2.566 MB / 421.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.2397, allocations: 16 kB / 421.9 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.2418, allocations: 1.108 MB / 423 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2431, allocations: 0.7723 MB / 423.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.2436, allocations: 363.2 kB / 424.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.2443, allocations: 1.156 MB / 425.3 MB, free: 16.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009571/0.2453, allocations: 0.9848 MB / 426.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.2456, allocations: 470.3 kB / 426.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.2461, allocations: 0.5797 MB / 427.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2462, allocations: 128 kB / 427.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.2466, allocations: 287.8 kB / 427.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2468, allocations: 255.2 kB / 428 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.2471, allocations: 0.5443 MB / 428.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.248, allocations: 1.484 MB / 430 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.248, allocations: 0 / 430 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.248, allocations: 4 kB / 430 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.248, allocations: 0 / 430 MB, free: 12.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003031/0.2511, allocations: 1.538 MB / 431.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2511, allocations: 12.03 kB / 431.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.253, allocations: 351.5 kB / 431.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2542, allocations: 0.6864 MB / 432.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.2543, allocations: 74.12 kB / 432.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2544, allocations: 92 kB / 432.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2558, allocations: 0.9932 MB / 433.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2558, allocations: 11.92 kB / 433.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.2559, allocations: 36 kB / 433.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2559, allocations: 24 kB / 433.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2573, allocations: 0.8316 MB / 434.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.2615, allocations: 3.844 MB / 438.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.2632, allocations: 1.478 MB / 440 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.2636, allocations: 250 kB / 440.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.2637, allocations: 93.44 kB / 440.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.2642, allocations: 321.4 kB / 440.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/0.2642, allocations: 0 / 440.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002428/0.2666, allocations: 0.9598 MB / 441.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.2667, allocations: 144.5 kB / 441.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.2673, allocations: 0.5018 MB / 442.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2673, allocations: 29.7 kB / 442.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.2676, allocations: 466.2 kB / 442.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2677, allocations: 153.8 kB / 442.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.2679, allocations: 146.5 kB / 443 MB, free: 14.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2681, allocations: 370.7 kB / 443.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.2686, allocations: 237.9 kB / 443.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.2692, allocations: 424.7 kB / 444 MB, free: 13.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2703, allocations: 0.7053 MB / 444.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2703, allocations: 0 / 444.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001727/0.272, allocations: 0.8483 MB / 445.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.2721, allocations: 41.69 kB / 445.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2721, allocations: 8 kB / 445.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.2726, allocations: 84.97 kB / 445.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.2733, allocations: 163.7 kB / 445.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2748, allocations: 1.57 MB / 447.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.2754, allocations: 99.08 kB / 447.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.2754, allocations: 35.98 kB / 447.6 MB, free: 9.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * 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.0003316/0.2758, allocations: 267.4 kB / 447.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.2759, allocations: 63.25 kB / 447.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2773, allocations: 0.6852 MB / 448.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2773, allocations: 8 kB / 448.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2773, allocations: 3.938 kB / 448.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2773, allocations: 3.984 kB / 448.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.2813, allocations: 1.721 MB / 450.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.2814, allocations: 3.984 kB / 450.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.2817, allocations: 75.84 kB / 450.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/0.2824, allocations: 250.4 kB / 450.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.2825, allocations: 23.92 kB / 450.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.2835, allocations: 0.8233 MB / 451.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2835, allocations: 64 / 451.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.2866, allocations: 1.182 MB / 452.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.2869, allocations: 172.4 kB / 452.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.287, allocations: 19.94 kB / 452.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.2874, allocations: 40.03 kB / 452.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.2875, allocations: 35.67 kB / 452.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.2876, allocations: 19.94 kB / 452.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.288, allocations: 346.9 kB / 453.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.288, allocations: 0 / 453.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008104/0.2889, allocations: 231.1 kB / 453.5 MB, free: 3.441 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * 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.0002403/0.2891, allocations: 143.7 kB / 453.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.2905, allocations: 0.7553 MB / 454.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2905, allocations: 1.188 kB / 454.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.2911, allocations: 339.4 kB / 454.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.2917, allocations: 104.5 kB / 454.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.2941, allocations: 1.331 MB / 456.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.2946, allocations: 0.9406 MB / 457.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.2949, allocations: 84.97 kB / 457.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.295, allocations: 51.42 kB / 457.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.295, allocations: 3.938 kB / 457.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.014/0.3091, allocations: 7.962 MB / 465.2 MB, free: 7.691 MB / 334.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)