Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02885/0.02885, allocations: 5.399 MB / 21.65 MB, free: 1.07 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.0009627/0.0009631, allocations: 102.1 kB / 23.65 MB, free: 0.7656 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.001025/0.001025, allocations: 201.4 kB / 25.77 MB, free: 4.527 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 250.6 MB, free: 8.453 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00873/0.00873, allocations: 2.321 MB / 304.3 MB, free: 6.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 87.86 kB / 368.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1747, allocations: 51.21 MB / 419.8 MB, free: 26.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.005773/0.1805, allocations: 6.882 MB / 426.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.1846, allocations: 4.025 MB / 430.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.185, allocations: 19.94 kB / 430.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.187, allocations: 1.177 MB / 431.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1884, allocations: 0.8778 MB / 432.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1898, allocations: 0.6054 MB / 433.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009853/0.1908, allocations: 1.406 MB / 434.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00099/0.1918, allocations: 1.021 MB / 435.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.1923, allocations: 0.5681 MB / 436.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.1929, allocations: 0.6846 MB / 437.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.193, allocations: 143.9 kB / 437.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.1936, allocations: 431.7 kB / 437.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1937, allocations: 294.9 kB / 437.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.1941, allocations: 0.6336 MB / 438.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.1953, allocations: 1.76 MB / 440.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1953, allocations: 3.984 kB / 440.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1954, allocations: 0 / 440.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1954, allocations: 0 / 440.3 MB, free: 5.672 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.003202/0.1986, allocations: 1.798 MB / 442.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1986, allocations: 8.031 kB / 442.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.2005, allocations: 379.1 kB / 442.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.202, allocations: 0.8165 MB / 443.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.202, allocations: 78 kB / 443.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2021, allocations: 103.9 kB / 443.5 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2037, allocations: 1.13 MB / 444.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.2037, allocations: 4 kB / 444.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.2038, allocations: 40 kB / 444.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2038, allocations: 24 kB / 444.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2054, allocations: 0.9524 MB / 445.6 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.2109, allocations: 4.306 MB / 450 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.2133, allocations: 1.665 MB / 451.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.2139, allocations: 324.5 kB / 451.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.214, allocations: 89.55 kB / 452 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007758/0.2148, allocations: 458.6 kB / 452.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.836e-06/0.2148, allocations: 0 / 452.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005367/0.2202, allocations: 1.548 MB / 454 MB, free: 7.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2203, allocations: 273.6 kB / 454.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.2211, allocations: 0.6643 MB / 455 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.2212, allocations: 41.7 kB / 455 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.2216, allocations: 0.5179 MB / 455.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.2217, allocations: 213.1 kB / 455.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.222, allocations: 190.5 kB / 455.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2222, allocations: 394.7 kB / 456.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.2228, allocations: 277.9 kB / 456.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007816/0.2236, allocations: 0.5403 MB / 457.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.2249, allocations: 0.9176 MB / 458 MB, free: 2.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.225, allocations: 3.938 kB / 458 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002059/0.227, allocations: 1.063 MB / 459.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.2271, allocations: 67.44 kB / 459.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2271, allocations: 11.94 kB / 459.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.2275, allocations: 84.78 kB / 459.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.2284, allocations: 227.6 kB / 459.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.2298, allocations: 1.578 MB / 461 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.2305, allocations: 111.1 kB / 461.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.2306, allocations: 40.3 kB / 461.2 MB, free: 15.59 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.0003923/0.231, allocations: 343.7 kB / 461.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.2311, allocations: 83 kB / 461.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.2329, allocations: 0.9129 MB / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2329, allocations: 8 kB / 462.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2329, allocations: 0 / 462.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2329, allocations: 3.938 kB / 462.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/0.2385, allocations: 2.211 MB / 464.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2385, allocations: 0 / 464.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.2388, allocations: 83.91 kB / 464.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.2396, allocations: 334.2 kB / 465.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.2396, allocations: 27.97 kB / 465.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.2408, allocations: 0.8857 MB / 466.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2408, allocations: 4.031 kB / 466.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.2457, allocations: 1.631 MB / 467.7 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.246, allocations: 223.9 kB / 467.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.2461, allocations: 23.98 kB / 467.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.2466, allocations: 43.97 kB / 468 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.2467, allocations: 44.31 kB / 468 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.2468, allocations: 27.98 kB / 468.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005094/0.2473, allocations: 471 kB / 468.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2473, allocations: 0 / 468.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007976/0.2481, allocations: 315 kB / 468.8 MB, free: 7.723 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.001276/0.2494, allocations: 0.6676 MB / 469.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.2511, allocations: 0.9642 MB / 470.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2511, allocations: 0 / 470.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.2519, allocations: 489.3 kB / 470.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007555/0.2526, allocations: 172.1 kB / 471.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.2554, allocations: 1.698 MB / 472.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.2559, allocations: 1.014 MB / 473.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.2563, allocations: 126.3 kB / 473.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.2565, allocations: 79.39 kB / 474 MB, free: 2.633 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2565, allocations: 0 / 474 MB, free: 2.633 MB / 334.1 MB Notification: Performance of Templates: time 0.01903/0.2755, allocations: 12.18 MB / 486.2 MB, free: 6.539 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)