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.04033/0.04033, allocations: 5.386 MB / 20.66 MB, free: 1.266 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.0007175/0.0007177, allocations: 94.72 kB / 22.65 MB, free: 28 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.000933/0.0009331, allocations: 183.9 kB / 24.75 MB, free: 1.762 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.354/1.354, 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.008744/0.008744, allocations: 2.313 MB / 304.6 MB, free: 3.352 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 12 kB / 368.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09431, allocations: 52.2 MB / 421.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.1756/0.2699, allocations: 6.363 MB / 427.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.2757, allocations: 3.909 MB / 431.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.2763, allocations: 24.94 kB / 431.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.2774, allocations: 466 kB / 431.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.2791, allocations: 0.7738 MB / 432.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2806, allocations: 0.5453 MB / 433.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.2817, allocations: 1.314 MB / 434.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2836, allocations: 1.417 MB / 435.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.2841, allocations: 468.3 kB / 436.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.2847, allocations: 0.584 MB / 436.9 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2848, allocations: 57.62 kB / 437 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.2855, allocations: 344.8 kB / 437.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2857, allocations: 207.1 kB / 437.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.2861, allocations: 0.5603 MB / 438.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2872, allocations: 1.645 MB / 439.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2872, allocations: 0 / 439.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2873, allocations: 0 / 439.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2873, allocations: 0 / 439.7 MB, free: 34.02 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.003183/0.2905, allocations: 1.58 MB / 441.3 MB, free: 33.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2905, allocations: 9.719 kB / 441.3 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.2925, allocations: 383.3 kB / 441.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.294, allocations: 0.8166 MB / 442.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.2941, allocations: 74.41 kB / 442.6 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.2943, allocations: 100.3 kB / 442.7 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.296, allocations: 1.13 MB / 443.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.296, allocations: 6.875 kB / 443.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.2961, allocations: 45.97 kB / 443.9 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2962, allocations: 24.91 kB / 443.9 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.2979, allocations: 0.9534 MB / 444.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.3029, allocations: 4.364 MB / 449.2 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.3051, allocations: 1.668 MB / 450.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.3057, allocations: 318.3 kB / 451.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.145e-05/0.3057, allocations: 104.1 kB / 451.3 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007226/0.3065, allocations: 457.9 kB / 451.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.3065, allocations: 0.8438 kB / 451.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005385/0.3119, allocations: 1.595 MB / 453.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.312, allocations: 274.6 kB / 453.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/0.3127, allocations: 0.669 MB / 454.3 MB, free: 26.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.3128, allocations: 39.67 kB / 454.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.313, allocations: 0.5233 MB / 454.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3131, allocations: 212.7 kB / 455 MB, free: 26.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.235e-05/0.3132, allocations: 84.7 kB / 455.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.3133, allocations: 386.2 kB / 455.5 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.3139, allocations: 292.1 kB / 455.8 MB, free: 25.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.3146, allocations: 0.5422 MB / 456.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3158, allocations: 0.9254 MB / 457.3 MB, free: 24.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3158, allocations: 6.656 kB / 457.3 MB, free: 24.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001891/0.3177, allocations: 1.068 MB / 458.3 MB, free: 23.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.3177, allocations: 60.78 kB / 458.4 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3178, allocations: 6.312 kB / 458.4 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/0.3182, allocations: 94.31 kB / 458.5 MB, free: 23.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.319, allocations: 221.9 kB / 458.7 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.32, allocations: 1.478 MB / 460.2 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/0.3208, allocations: 110.5 kB / 460.3 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.3208, allocations: 46.5 kB / 460.3 MB, free: 22.33 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.0004173/0.3213, allocations: 340.9 kB / 460.7 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3214, allocations: 80.47 kB / 460.8 MB, free: 22.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.3231, allocations: 0.9247 MB / 461.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3231, allocations: 9.156 kB / 461.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3231, allocations: 0 / 461.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.3231, allocations: 3.281 kB / 461.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/0.3287, allocations: 2.242 MB / 463.9 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3287, allocations: 1.125 kB / 463.9 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.329, allocations: 80.44 kB / 464 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/0.3298, allocations: 347.1 kB / 464.3 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.3299, allocations: 28 kB / 464.4 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.3312, allocations: 0.9041 MB / 465.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3313, allocations: 3.062 kB / 465.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.3361, allocations: 1.67 MB / 467 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.3365, allocations: 233.2 kB / 467.2 MB, free: 18.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3367, allocations: 21.41 kB / 467.2 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.3372, allocations: 64.22 kB / 467.3 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.3373, allocations: 36.7 kB / 467.3 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.3374, allocations: 35 kB / 467.3 MB, free: 18.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005234/0.3379, allocations: 462.7 kB / 467.8 MB, free: 18.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3379, allocations: 3.938 kB / 467.8 MB, free: 18.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001005/0.339, allocations: 317.9 kB / 468.1 MB, free: 18.59 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.001352/0.3403, allocations: 0.6471 MB / 468.7 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.342, allocations: 0.9724 MB / 469.7 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.342, allocations: 3.188 kB / 469.7 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.3427, allocations: 485 kB / 470.2 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/0.3436, allocations: 160.7 kB / 470.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3464, allocations: 2.241 MB / 472.6 MB, free: 16.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3468, allocations: 1.013 MB / 473.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.3474, allocations: 121.9 kB / 473.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.3476, allocations: 74.91 kB / 473.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3476, allocations: 0 / 473.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Templates: time 0.02072/0.3683, allocations: 11.59 MB / 485.4 MB, free: 13.7 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: