Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) 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_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04513/0.04513, allocations: 5.392 MB / 20.89 MB, free: 1.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00972/0.00972, allocations: 102.7 kB / 22.88 MB, free: 0.6328 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.0017/0.0017, allocations: 186.9 kB / 25 MB, free: 144 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.322/1.322, allocations: 222.9 MB / 249.9 MB, free: 8.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009073/0.009073, allocations: 2.316 MB / 303.5 MB, free: 6.535 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 103.8 kB / 367.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2526, allocations: 51.21 MB / 418.4 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.00613/0.2587, allocations: 6.885 MB / 425.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.2637, allocations: 4.013 MB / 429.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.2644, allocations: 19.94 kB / 429.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.2667, allocations: 1.181 MB / 430.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2684, allocations: 0.874 MB / 431.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.2699, allocations: 0.6151 MB / 432 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.271, allocations: 1.402 MB / 433.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.272, allocations: 1.009 MB / 434.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.2725, allocations: 0.5721 MB / 434.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.2731, allocations: 0.6807 MB / 435.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2732, allocations: 140 kB / 435.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.2738, allocations: 435.7 kB / 436.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.274, allocations: 291 kB / 436.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.2744, allocations: 0.6335 MB / 437.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2757, allocations: 1.737 MB / 438.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2757, allocations: 4 kB / 438.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2757, allocations: 0 / 438.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.2757, allocations: 0 / 438.8 MB, free: 5.848 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003608/0.2793, allocations: 1.801 MB / 440.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2794, allocations: 12.02 kB / 440.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.2814, allocations: 375.1 kB / 441 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.2829, allocations: 0.8048 MB / 441.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.283, allocations: 85.92 kB / 441.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.2831, allocations: 103.9 kB / 442 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.2848, allocations: 1.13 MB / 443.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.2848, allocations: 0 / 443.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/0.2849, allocations: 48 kB / 443.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.285, allocations: 24 kB / 443.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.2866, allocations: 0.955 MB / 444.2 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/0.2932, allocations: 4.334 MB / 448.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.2959, allocations: 1.67 MB / 450.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.2967, allocations: 316.6 kB / 450.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2968, allocations: 89.48 kB / 450.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008897/0.2977, allocations: 462.6 kB / 451 MB, free: 9.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.2977, allocations: 0 / 451 MB, free: 9.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005902/0.3036, allocations: 1.552 MB / 452.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.3038, allocations: 277.6 kB / 452.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.3047, allocations: 0.6565 MB / 453.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.3048, allocations: 41.7 kB / 453.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.3052, allocations: 0.5179 MB / 454.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3054, allocations: 217.1 kB / 454.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.3057, allocations: 186.4 kB / 454.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3059, allocations: 386.7 kB / 454.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.3065, allocations: 281.8 kB / 455.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/0.3073, allocations: 0.5403 MB / 455.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.3088, allocations: 0.9176 MB / 456.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.3089, allocations: 7.938 kB / 456.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002287/0.3111, allocations: 1.071 MB / 457.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.3112, allocations: 59.41 kB / 457.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3113, allocations: 11.98 kB / 457.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.3117, allocations: 80.8 kB / 457.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.3127, allocations: 223.8 kB / 458 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3143, allocations: 1.585 MB / 459.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/0.3151, allocations: 107.1 kB / 459.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.3152, allocations: 47.97 kB / 459.7 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.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): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0005609/0.3158, allocations: 336 kB / 460.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.316, allocations: 86.98 kB / 460.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.3181, allocations: 0.9206 MB / 461.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3181, allocations: 4 kB / 461.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3181, allocations: 8 kB / 461.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3182, allocations: 7.922 kB / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.3245, allocations: 2.202 MB / 463.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3245, allocations: 4 kB / 463.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.3249, allocations: 83.89 kB / 463.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008522/0.3258, allocations: 334.2 kB / 463.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-05/0.3259, allocations: 27.97 kB / 463.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.3273, allocations: 0.8858 MB / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3273, allocations: 3.938 kB / 464.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005458/0.3328, allocations: 1.634 MB / 466.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.3332, allocations: 219.9 kB / 466.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.3333, allocations: 20 kB / 466.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.3339, allocations: 43.97 kB / 466.5 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.334, allocations: 44.38 kB / 466.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.3341, allocations: 31.98 kB / 466.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006098/0.3347, allocations: 463 kB / 467.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3347, allocations: 3.938 kB / 467.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009712/0.3357, allocations: 319 kB / 467.4 MB, free: 7.855 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.3372, allocations: 0.6638 MB / 468 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.3393, allocations: 0.9875 MB / 469 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3393, allocations: 4.062 kB / 469 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.3402, allocations: 481.2 kB / 469.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.3412, allocations: 169.7 kB / 469.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3444, allocations: 1.733 MB / 471.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.345, allocations: 1.018 MB / 472.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.3456, allocations: 122.4 kB / 472.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.3458, allocations: 71.41 kB / 472.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3458, allocations: 0 / 472.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of Templates: time 0.02174/0.3675, allocations: 12.22 MB / 484.8 MB, free: 6.594 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)