Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008707, allocations: 86.95 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02404/0.02404, allocations: 5.292 MB / 341.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00787/0.00787, allocations: 2.288 MB / 396.2 MB, free: 70.47 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.023e-05, allocations: 4 kB / 457.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 52.2 MB / 0.4974 GB, free: 41.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.416, allocations: 98.53 MB / 0.5937 GB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4163, allocations: 71.91 kB / 0.5937 GB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3686/0.7849, allocations: 37.05 MB / 0.6299 GB, free: 94.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7849, allocations: 0.5625 kB / 0.6299 GB, free: 94.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.905e-05/0.785, allocations: 30.27 kB / 0.6299 GB, free: 94.03 MB / 394.7 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.002778/0.7878, allocations: 1.351 MB / 0.6313 GB, free: 93.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7878, allocations: 7.781 kB / 0.6313 GB, free: 93.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.7892, allocations: 297.6 kB / 0.6316 GB, free: 93.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7903, allocations: 0.6538 MB / 0.6322 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.7904, allocations: 77.03 kB / 0.6323 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.7905, allocations: 101.4 kB / 0.6324 GB, free: 92.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.7923, allocations: 1.101 MB / 0.6334 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.7924, allocations: 5.391 kB / 0.6334 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/0.7925, allocations: 47.91 kB / 0.6335 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.7925, allocations: 23.5 kB / 0.6335 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.794, allocations: 0.9231 MB / 0.6344 GB, free: 92.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.7997, allocations: 4.499 MB / 0.6388 GB, free: 90.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.8017, allocations: 1.676 MB / 0.6404 GB, free: 88.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.8022, allocations: 296.3 kB / 0.6407 GB, free: 88.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-05/0.8023, allocations: 92.92 kB / 0.6408 GB, free: 88.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.803, allocations: 450 kB / 0.6412 GB, free: 88.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.677e-06/0.803, allocations: 0 / 0.6412 GB, free: 88.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003603/0.8066, allocations: 1.061 MB / 0.6423 GB, free: 88.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.8067, allocations: 301.3 kB / 0.6426 GB, free: 87.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.8077, allocations: 0.6292 MB / 0.6432 GB, free: 87.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.8077, allocations: 44.14 kB / 0.6432 GB, free: 87.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.808, allocations: 0.5074 MB / 0.6437 GB, free: 87.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.8082, allocations: 224.3 kB / 0.6439 GB, free: 86.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.8082, allocations: 15.72 kB / 0.644 GB, free: 86.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.8084, allocations: 395.5 kB / 0.6443 GB, free: 86.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.8088, allocations: 267.5 kB / 0.6446 GB, free: 86.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.8094, allocations: 0.5232 MB / 0.6451 GB, free: 85.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.8099, allocations: 399.8 kB / 0.6455 GB, free: 85.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8099, allocations: 0 / 0.6455 GB, free: 85.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001686/0.8116, allocations: 1.047 MB / 0.6465 GB, free: 85.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.8117, allocations: 74.14 kB / 0.6466 GB, free: 85.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8117, allocations: 7.312 kB / 0.6466 GB, free: 85.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.8122, allocations: 92.48 kB / 0.6467 GB, free: 85.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.813, allocations: 217.8 kB / 0.6469 GB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.8143, allocations: 1.557 MB / 0.6484 GB, free: 83.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.8151, allocations: 110.9 kB / 0.6485 GB, free: 83.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.8152, allocations: 47.02 kB / 0.6485 GB, free: 83.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * 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.0002315/0.8154, allocations: 246 kB / 0.6488 GB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8155, allocations: 83.06 kB / 0.6489 GB, free: 83.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.819, allocations: 1.183 MB / 0.65 GB, free: 82.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.819, allocations: 8 kB / 0.65 GB, free: 82.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.819, allocations: 0 / 0.65 GB, free: 82.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.819, allocations: 7.938 kB / 0.65 GB, free: 82.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.8216, allocations: 2.056 MB / 0.652 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8216, allocations: 0 / 0.652 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8219, allocations: 86.34 kB / 0.6521 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.8241, allocations: 0.5449 MB / 0.6527 GB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.8242, allocations: 30.08 kB / 0.6527 GB, free: 79.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00072/0.8249, allocations: 0.8563 MB / 0.6535 GB, free: 78.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8249, allocations: 0 / 0.6535 GB, free: 78.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.8266, allocations: 1.349 MB / 0.6548 GB, free: 77.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.827, allocations: 248.3 kB / 0.6551 GB, free: 77.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8271, allocations: 20 kB / 0.6551 GB, free: 77.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.8276, allocations: 46.56 kB / 0.6551 GB, free: 77.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.8277, allocations: 45.44 kB / 0.6552 GB, free: 77.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.8278, allocations: 30.94 kB / 0.6552 GB, free: 77.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005881/0.8284, allocations: 493.6 kB / 0.6557 GB, free: 76.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8284, allocations: 0 / 0.6557 GB, free: 76.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001242/0.8297, allocations: 361.9 kB / 0.656 GB, free: 76.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.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.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001507/0.8312, allocations: 0.7003 MB / 0.6567 GB, free: 76.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.8326, allocations: 0.9261 MB / 0.6576 GB, free: 75.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.8326, allocations: 0 / 0.6576 GB, free: 75.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.8332, allocations: 474.2 kB / 0.6581 GB, free: 74.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.834, allocations: 139.7 kB / 0.6582 GB, free: 74.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.8361, allocations: 1.246 MB / 0.6594 GB, free: 73.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.8365, allocations: 1.036 MB / 0.6604 GB, free: 72.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.837, allocations: 112.8 kB / 0.6605 GB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.8372, allocations: 71.11 kB / 0.6606 GB, free: 72.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8372, allocations: 4 kB / 0.6606 GB, free: 72.31 MB / 394.7 MB Notification: Performance of Templates: time 0.02029/0.8575, allocations: 12.85 MB / 0.6732 GB, free: 60.07 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)