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.02916/0.02916, allocations: 5.387 MB / 20.62 MB, free: 2.008 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.000952/0.0009524, allocations: 104.1 kB / 22.61 MB, free: 388 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.001247/0.001247, allocations: 198.6 kB / 24.71 MB, free: 1.699 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.283/1.283, allocations: 222.9 MB / 249.6 MB, free: 12.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009178/0.009178, allocations: 2.315 MB / 303.2 MB, free: 4.516 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 87.86 kB / 366.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08196/0.08351, allocations: 51.21 MB / 417.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.007775/0.09132, allocations: 6.862 MB / 424.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1536/0.2449, allocations: 3.949 MB / 428.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009154/0.2459, allocations: 22.53 kB / 428.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.2485, allocations: 1.083 MB / 429.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.2504, allocations: 0.782 MB / 430.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.252, allocations: 0.5447 MB / 431.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2534, allocations: 1.408 MB / 432.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.2548, allocations: 1.086 MB / 433.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.2555, allocations: 0.5697 MB / 434.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.2562, allocations: 0.6799 MB / 434.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.2563, allocations: 148.1 kB / 435 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.2571, allocations: 430 kB / 435.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.2572, allocations: 298.3 kB / 435.7 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.2577, allocations: 0.63 MB / 436.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.259, allocations: 1.746 MB / 438 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.259, allocations: 0.8125 kB / 438 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2591, allocations: 0 / 438 MB, free: 33.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.2591, allocations: 3.062 kB / 438.1 MB, free: 33.94 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003365/0.2625, allocations: 1.796 MB / 439.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2625, allocations: 8.938 kB / 439.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.2644, allocations: 378.9 kB / 440.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.2658, allocations: 0.7999 MB / 441 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.2659, allocations: 84.14 kB / 441.1 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.266, allocations: 108.2 kB / 441.2 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2676, allocations: 1.125 MB / 442.3 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.2677, allocations: 6.766 kB / 442.3 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.2677, allocations: 42.78 kB / 442.4 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.2678, allocations: 29.53 kB / 442.4 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.2694, allocations: 0.9508 MB / 443.4 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.2743, allocations: 4.331 MB / 447.7 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.2764, allocations: 1.673 MB / 449.4 MB, free: 27.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.277, allocations: 320.6 kB / 449.7 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.2771, allocations: 90.31 kB / 449.8 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007101/0.2778, allocations: 456.5 kB / 450.2 MB, free: 27.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.2778, allocations: 0 / 450.2 MB, free: 27.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005497/0.2833, allocations: 1.558 MB / 451.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.2834, allocations: 274.5 kB / 452 MB, free: 26.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.2841, allocations: 0.6624 MB / 452.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2842, allocations: 40.27 kB / 452.7 MB, free: 26.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2845, allocations: 0.5169 MB / 453.3 MB, free: 25.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2846, allocations: 221.7 kB / 453.5 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2848, allocations: 187.3 kB / 453.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.2849, allocations: 388.1 kB / 454 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.2855, allocations: 283.7 kB / 454.3 MB, free: 25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.2861, allocations: 0.5408 MB / 454.9 MB, free: 24.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2873, allocations: 0.914 MB / 455.8 MB, free: 23.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2873, allocations: 3.281 kB / 455.8 MB, free: 23.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001998/0.2893, allocations: 1.069 MB / 456.8 MB, free: 23.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.2893, allocations: 68.62 kB / 456.9 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2894, allocations: 6.406 kB / 456.9 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/0.2898, allocations: 80.27 kB / 457 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.2906, allocations: 223.2 kB / 457.2 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2919, allocations: 1.58 MB / 458.8 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.2929, allocations: 112.2 kB / 458.9 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.293, allocations: 46.55 kB / 458.9 MB, free: 21.79 MB / 350.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.0006525/0.2936, allocations: 333.1 kB / 459.3 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.2939, allocations: 86.72 kB / 459.4 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.2958, allocations: 0.9184 MB / 460.3 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.2958, allocations: 7.266 kB / 460.3 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2958, allocations: 0.9375 kB / 460.3 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2958, allocations: 8.375 kB / 460.3 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.3016, allocations: 2.22 MB / 462.5 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.3016, allocations: 3.938 kB / 462.5 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.302, allocations: 89.92 kB / 462.6 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007473/0.3027, allocations: 322.7 kB / 462.9 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.3028, allocations: 28.06 kB / 462.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3039, allocations: 0.8886 MB / 463.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3039, allocations: 0 / 463.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.3088, allocations: 1.636 MB / 465.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.3092, allocations: 215.6 kB / 465.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3093, allocations: 26.88 kB / 465.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.3099, allocations: 46.92 kB / 465.8 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.31, allocations: 41.42 kB / 465.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.31, allocations: 31.95 kB / 465.8 MB, free: 18.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.3105, allocations: 464 kB / 466.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3105, allocations: 0 / 466.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009271/0.3115, allocations: 322.7 kB / 466.6 MB, free: 18.08 MB / 350.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.001266/0.3127, allocations: 0.6531 MB / 467.2 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.3145, allocations: 0.9826 MB / 468.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3145, allocations: 448 / 468.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.3152, allocations: 497.2 kB / 468.7 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.3161, allocations: 172 kB / 468.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.3188, allocations: 2.155 MB / 471 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3192, allocations: 1.015 MB / 472.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.3197, allocations: 121.5 kB / 472.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.3198, allocations: 79.77 kB / 472.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3199, allocations: 0 / 472.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Templates: time 0.02084/0.3407, allocations: 12.21 MB / 484.5 MB, free: 13.25 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)