Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04285/0.04285, allocations: 5.388 MB / 20.66 MB, free: 1.289 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.0008428/0.0008427, allocations: 94.17 kB / 22.65 MB, free: 56 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.002036/0.002036, allocations: 183.5 kB / 24.75 MB, free: 1.773 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.393/1.393, allocations: 223.3 MB / 250 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008686/0.008686, allocations: 2.314 MB / 304.6 MB, free: 3.336 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0007254/0.0007253, allocations: 16 kB / 368.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1342, allocations: 52.21 MB / 421.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.1914/0.3256, allocations: 6.361 MB / 427.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006503/0.3321, allocations: 3.907 MB / 431.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.3333, allocations: 23 kB / 431.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3349, allocations: 464.5 kB / 431.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.3374, allocations: 0.7786 MB / 432.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.3396, allocations: 0.5461 MB / 433.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.3416, allocations: 1.319 MB / 434.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.3443, allocations: 1.406 MB / 435.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.3454, allocations: 468 kB / 436.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.3468, allocations: 0.5854 MB / 436.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.3472, allocations: 61.03 kB / 437 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3485, allocations: 346.8 kB / 437.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004371/0.3489, allocations: 203.8 kB / 437.5 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.35, allocations: 0.562 MB / 438.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.3525, allocations: 1.643 MB / 439.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3526, allocations: 3.312 kB / 439.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3526, allocations: 0 / 439.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.405e-05/0.3527, allocations: 0 / 439.7 MB, free: 33.96 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.004017/0.3567, allocations: 1.577 MB / 441.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3567, allocations: 6.625 kB / 441.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.359, allocations: 381 kB / 441.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.3609, allocations: 0.8164 MB / 442.5 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/0.361, allocations: 75.09 kB / 442.6 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.3613, allocations: 99.06 kB / 442.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.3635, allocations: 1.145 MB / 443.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.3636, allocations: 0 / 443.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/0.3637, allocations: 43.7 kB / 443.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3637, allocations: 25.44 kB / 443.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.3657, allocations: 0.9588 MB / 444.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.3713, allocations: 4.358 MB / 449.2 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.3736, allocations: 1.671 MB / 450.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.3742, allocations: 316.1 kB / 451.2 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.751e-05/0.3743, allocations: 97.84 kB / 451.3 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.375, allocations: 468.3 kB / 451.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.375, allocations: 3.938 kB / 451.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005343/0.3804, allocations: 1.592 MB / 453.3 MB, free: 27.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.3805, allocations: 277 kB / 453.6 MB, free: 26.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.3813, allocations: 0.6682 MB / 454.3 MB, free: 26.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.3813, allocations: 40.89 kB / 454.3 MB, free: 26.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.3816, allocations: 0.5176 MB / 454.8 MB, free: 26.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3817, allocations: 218 kB / 455.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.3818, allocations: 80.44 kB / 455.1 MB, free: 25.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.3819, allocations: 388.2 kB / 455.5 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.3825, allocations: 287.5 kB / 455.8 MB, free: 25.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.3832, allocations: 0.5388 MB / 456.3 MB, free: 25.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.3844, allocations: 0.9301 MB / 457.3 MB, free: 24.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3844, allocations: 7.156 kB / 457.3 MB, free: 24.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001975/0.3864, allocations: 1.073 MB / 458.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.3865, allocations: 61.22 kB / 458.4 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3865, allocations: 10.12 kB / 458.4 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.3869, allocations: 82.73 kB / 458.5 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.3877, allocations: 221.7 kB / 458.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.3889, allocations: 1.473 MB / 460.2 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.3897, allocations: 108.7 kB / 460.3 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.3897, allocations: 48.28 kB / 460.3 MB, free: 22.29 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.0004259/0.3902, allocations: 339.7 kB / 460.7 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3903, allocations: 79.72 kB / 460.7 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.3921, allocations: 0.9272 MB / 461.7 MB, free: 21.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3921, allocations: 10.41 kB / 461.7 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3921, allocations: 4.5 kB / 461.7 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3921, allocations: 3.422 kB / 461.7 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.3977, allocations: 2.24 MB / 463.9 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3977, allocations: 0 / 463.9 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.398, allocations: 89.42 kB / 464 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007752/0.3988, allocations: 343.7 kB / 464.4 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.3989, allocations: 27.27 kB / 464.4 MB, free: 20.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.4001, allocations: 0.9071 MB / 465.3 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4001, allocations: 3.281 kB / 465.3 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.4053, allocations: 1.671 MB / 467 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.4057, allocations: 235.9 kB / 467.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.4059, allocations: 19.22 kB / 467.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.4065, allocations: 54.56 kB / 467.3 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.4066, allocations: 46.33 kB / 467.3 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.4067, allocations: 29.39 kB / 467.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006024/0.4073, allocations: 464.1 kB / 467.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4073, allocations: 0 / 467.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4085, allocations: 312.7 kB / 468.1 MB, free: 18.55 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.001526/0.4101, allocations: 0.6562 MB / 468.8 MB, free: 18.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.412, allocations: 0.9747 MB / 469.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4121, allocations: 3.188 kB / 469.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.4129, allocations: 482.5 kB / 470.2 MB, free: 17.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.414, allocations: 161 kB / 470.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.4173, allocations: 2.243 MB / 472.6 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.418, allocations: 1.007 MB / 473.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.4185, allocations: 124.5 kB / 473.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.4188, allocations: 74.09 kB / 473.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4188, allocations: 0 / 473.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Templates: time 0.02702/0.4458, allocations: 11.58 MB / 485.4 MB, free: 13.78 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1) Environment - environmentSimulation: