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.03894/0.03894, allocations: 5.381 MB / 20.36 MB, free: 2.246 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.0007325/0.0007325, allocations: 101.5 kB / 22.34 MB, free: 0.7734 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.0009373/0.0009374, allocations: 180.5 kB / 24.41 MB, free: 1.98 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.341/1.341, allocations: 223.3 MB / 249.6 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008399/0.008398, allocations: 2.318 MB / 304.2 MB, free: 3.316 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 12 kB / 368.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 52.2 MB / 420.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.007775/0.1174, allocations: 5.989 MB / 426.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2186/0.336, allocations: 3.702 MB / 430.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.3368, allocations: 22.47 kB / 430.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.3379, allocations: 403.2 kB / 430.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.3397, allocations: 0.6964 MB / 431.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.341, allocations: 478.2 kB / 431.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3424, allocations: 1.24 MB / 433 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3446, allocations: 1.247 MB / 434.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.3453, allocations: 448.2 kB / 434.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.3461, allocations: 0.5585 MB / 435.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3463, allocations: 58.25 kB / 435.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008188/0.3471, allocations: 326.9 kB / 435.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3473, allocations: 198.1 kB / 435.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3475, allocations: 231.6 kB / 436 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.3485, allocations: 1.31 MB / 437.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3485, allocations: 7.344 kB / 437.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3485, allocations: 0 / 437.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3485, allocations: 0 / 437.3 MB, free: 34.26 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.003109/0.3516, allocations: 1.59 MB / 438.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3517, allocations: 12.48 kB / 438.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.3536, allocations: 379.6 kB / 439.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.3554, allocations: 0.7708 MB / 440.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.3554, allocations: 89.73 kB / 440.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.3556, allocations: 105.4 kB / 440.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.3576, allocations: 1.128 MB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.3577, allocations: 2.188 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3578, allocations: 45.5 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.3578, allocations: 25 kB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.3596, allocations: 0.9525 MB / 442.4 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/0.3657, allocations: 4.346 MB / 446.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.3681, allocations: 1.681 MB / 448.4 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005966/0.3687, allocations: 323.8 kB / 448.7 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.3688, allocations: 90.59 kB / 448.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009125/0.3698, allocations: 457.8 kB / 449.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.897e-06/0.3698, allocations: 0 / 449.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005008/0.3748, allocations: 1.585 MB / 450.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.3749, allocations: 282.2 kB / 451.1 MB, free: 28.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.3757, allocations: 0.6517 MB / 451.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3758, allocations: 47.11 kB / 451.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.3761, allocations: 0.5156 MB / 452.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3762, allocations: 213.7 kB / 452.6 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.3763, allocations: 22.38 kB / 452.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.3764, allocations: 387.4 kB / 453 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.3769, allocations: 285.4 kB / 453.2 MB, free: 26.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/0.3776, allocations: 0.5343 MB / 453.8 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.3783, allocations: 414.4 kB / 454.2 MB, free: 26.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.3783, allocations: 8.734 kB / 454.2 MB, free: 26.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00191/0.3802, allocations: 1.064 MB / 455.2 MB, free: 25.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.3803, allocations: 64.12 kB / 455.3 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3803, allocations: 9.297 kB / 455.3 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/0.3808, allocations: 87.44 kB / 455.4 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/0.3816, allocations: 224.3 kB / 455.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.3828, allocations: 1.469 MB / 457.1 MB, free: 24.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.3836, allocations: 116.2 kB / 457.2 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.3837, allocations: 45.84 kB / 457.3 MB, free: 24.16 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005398/0.3843, allocations: 339.4 kB / 457.6 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3844, allocations: 81.62 kB / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.386, allocations: 0.9292 MB / 458.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.386, allocations: 6.281 kB / 458.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3861, allocations: 0 / 458.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3861, allocations: 3.562 kB / 458.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.3912, allocations: 2.245 MB / 460.8 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3912, allocations: 4.656 kB / 460.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.3915, allocations: 89.8 kB / 460.9 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007881/0.3923, allocations: 331.4 kB / 461.3 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3924, allocations: 31.36 kB / 461.3 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3935, allocations: 0.8976 MB / 462.2 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3936, allocations: 7.312 kB / 462.2 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.3982, allocations: 1.664 MB / 463.9 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.3986, allocations: 235.2 kB / 464.1 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3987, allocations: 20.05 kB / 464.1 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.3992, allocations: 55.25 kB / 464.2 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.3993, allocations: 42.91 kB / 464.2 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.3994, allocations: 33.03 kB / 464.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005071/0.3999, allocations: 453.9 kB / 464.7 MB, free: 20.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3999, allocations: 0 / 464.7 MB, free: 20.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009534/0.4009, allocations: 322.1 kB / 465 MB, free: 20.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/0.4023, allocations: 0.6493 MB / 465.6 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.404, allocations: 0.9668 MB / 466.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.404, allocations: 0 / 466.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.4047, allocations: 490.4 kB / 467.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.4056, allocations: 165.1 kB / 467.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.4087, allocations: 2.122 MB / 469.4 MB, free: 18.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.4091, allocations: 1.008 MB / 470.4 MB, free: 17.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005622/0.4097, allocations: 121.9 kB / 470.5 MB, free: 17.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.4099, allocations: 72.83 kB / 470.6 MB, free: 17.34 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4099, allocations: 3.938 kB / 470.6 MB, free: 17.34 MB / 350.1 MB Notification: Performance of Templates: time 0.02579/0.4357, allocations: 11.31 MB / 481.9 MB, free: 16.07 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1) Environment - environmentSimulation: