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.02865/0.02865, allocations: 5.385 MB / 20.37 MB, free: 1.828 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.0007184/0.0007185, allocations: 100.2 kB / 22.34 MB, free: 0.5977 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.00121/0.00121, allocations: 187.2 kB / 24.42 MB, free: 1.965 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 / 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.008942/0.008942, allocations: 2.307 MB / 304.2 MB, free: 3.223 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004278, allocations: 12 kB / 368.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 52.21 MB / 420.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006949/0.1196, allocations: 5.985 MB / 426.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2551/0.3749, allocations: 3.705 MB / 430.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.376, allocations: 19.84 kB / 430.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.3775, allocations: 401.4 kB / 430.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.3803, allocations: 0.7038 MB / 431.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.382, allocations: 467.3 kB / 431.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.3839, allocations: 1.243 MB / 433 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.386, allocations: 1.25 MB / 434.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.3868, allocations: 449.6 kB / 434.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009209/0.3877, allocations: 0.5543 MB / 435.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.3879, allocations: 57.19 kB / 435.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009329/0.3888, allocations: 323.6 kB / 435.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.389, allocations: 206.2 kB / 435.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.3892, allocations: 232.7 kB / 436 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3904, allocations: 1.309 MB / 437.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3904, allocations: 5.359 kB / 437.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3904, allocations: 0 / 437.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.3904, allocations: 0 / 437.3 MB, free: 34.12 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.003178/0.3936, allocations: 1.587 MB / 438.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3937, allocations: 6.844 kB / 438.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.3956, allocations: 387.1 kB / 439.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.3971, allocations: 0.7795 MB / 440.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.3972, allocations: 81.25 kB / 440.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3973, allocations: 108.4 kB / 440.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3991, allocations: 1.13 MB / 441.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.3991, allocations: 5.156 kB / 441.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3992, allocations: 40.47 kB / 441.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.3993, allocations: 25.88 kB / 441.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.4009, allocations: 0.9461 MB / 442.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/0.406, allocations: 4.348 MB / 446.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.4082, allocations: 1.682 MB / 448.4 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.4088, allocations: 325.7 kB / 448.7 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.4089, allocations: 92.23 kB / 448.8 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007624/0.4096, allocations: 455.7 kB / 449.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.996e-06/0.4097, allocations: 4 kB / 449.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005157/0.4148, allocations: 1.585 MB / 450.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.415, allocations: 280.9 kB / 451.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.416, allocations: 0.6525 MB / 451.8 MB, free: 27.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.4161, allocations: 43.58 kB / 451.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.4166, allocations: 0.5217 MB / 452.4 MB, free: 27.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.4168, allocations: 212.8 kB / 452.6 MB, free: 27.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.4169, allocations: 22.03 kB / 452.6 MB, free: 27.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.417, allocations: 382.5 kB / 453 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.4176, allocations: 284.7 kB / 453.2 MB, free: 26.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.4183, allocations: 0.5373 MB / 453.8 MB, free: 26.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.4191, allocations: 410.4 kB / 454.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4191, allocations: 8.922 kB / 454.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002178/0.4213, allocations: 1.067 MB / 455.3 MB, free: 25.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.4214, allocations: 62 kB / 455.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.4214, allocations: 9.75 kB / 455.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.4219, allocations: 90.95 kB / 455.4 MB, free: 25.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.4227, allocations: 220.4 kB / 455.6 MB, free: 25.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4239, allocations: 1.474 MB / 457.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.4247, allocations: 114.9 kB / 457.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.4248, allocations: 42.94 kB / 457.3 MB, free: 24.13 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.0005051/0.4253, allocations: 336.8 kB / 457.6 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.4255, allocations: 82.3 kB / 457.7 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.4272, allocations: 0.9253 MB / 458.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4272, allocations: 6.469 kB / 458.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4272, allocations: 0 / 458.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4272, allocations: 6.297 kB / 458.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/0.4326, allocations: 2.255 MB / 460.9 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4327, allocations: 0 / 460.9 MB, free: 22.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.433, allocations: 86.56 kB / 460.9 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.4338, allocations: 335 kB / 461.3 MB, free: 22.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.4339, allocations: 27.8 kB / 461.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.435, allocations: 0.899 MB / 462.2 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.435, allocations: 3.938 kB / 462.2 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/0.4396, allocations: 1.665 MB / 463.9 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.4401, allocations: 230.8 kB / 464.1 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.4403, allocations: 22.52 kB / 464.1 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.4409, allocations: 58.27 kB / 464.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.441, allocations: 35.22 kB / 464.2 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.4411, allocations: 30.22 kB / 464.2 MB, free: 20.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.4418, allocations: 458.4 kB / 464.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4418, allocations: 0 / 464.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001218/0.443, allocations: 317.5 kB / 465 MB, free: 20.4 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.001498/0.4445, allocations: 0.6605 MB / 465.7 MB, free: 20.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.4464, allocations: 0.9669 MB / 466.6 MB, free: 19.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4464, allocations: 3.188 kB / 466.6 MB, free: 19.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.4472, allocations: 488.5 kB / 467.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.4481, allocations: 163.7 kB / 467.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4517, allocations: 2.11 MB / 469.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.4523, allocations: 1.014 MB / 470.4 MB, free: 17.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006492/0.453, allocations: 125.5 kB / 470.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.4533, allocations: 79.67 kB / 470.6 MB, free: 17.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4533, allocations: 0 / 470.6 MB, free: 17.3 MB / 350.1 MB Notification: Performance of Templates: time 0.02727/0.4805, allocations: 11.31 MB / 481.9 MB, free: 16.07 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: