Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 174.6 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.393/1.393, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008933/0.0008931, allocations: 88.08 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02449/0.02449, allocations: 5.283 MB / 341.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008152/0.008152, allocations: 2.294 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.142e-05/3.145e-05, allocations: 4 kB / 457.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 52.19 MB / 0.4974 GB, free: 41.43 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4354, allocations: 98.54 MB / 0.5937 GB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4357, allocations: 67.92 kB / 0.5937 GB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4146/0.8503, allocations: 37.05 MB / 0.6299 GB, free: 93.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.8503, allocations: 0 / 0.6299 GB, free: 93.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.813e-05/0.8504, allocations: 25.08 kB / 0.6299 GB, free: 93.95 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.002868/0.8533, allocations: 1.354 MB / 0.6313 GB, free: 93.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.8533, allocations: 7.844 kB / 0.6313 GB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.8547, allocations: 303.6 kB / 0.6316 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.8559, allocations: 0.653 MB / 0.6322 GB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.856, allocations: 78.88 kB / 0.6323 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.8561, allocations: 100.4 kB / 0.6324 GB, free: 92.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.8579, allocations: 1.094 MB / 0.6334 GB, free: 92.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.858, allocations: 10.62 kB / 0.6334 GB, free: 92.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.8581, allocations: 46.16 kB / 0.6335 GB, free: 92.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.8581, allocations: 23.91 kB / 0.6335 GB, free: 92.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.8596, allocations: 0.9288 MB / 0.6344 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/0.8657, allocations: 4.487 MB / 0.6388 GB, free: 90.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.8676, allocations: 1.679 MB / 0.6404 GB, free: 88.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.868, allocations: 303.8 kB / 0.6407 GB, free: 88.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.331e-05/0.8681, allocations: 96.17 kB / 0.6408 GB, free: 88.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006451/0.8688, allocations: 440 kB / 0.6412 GB, free: 88.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 4.328e-06/0.8688, allocations: 0 / 0.6412 GB, free: 88.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003591/0.8724, allocations: 1.061 MB / 0.6423 GB, free: 88.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.8725, allocations: 309.4 kB / 0.6426 GB, free: 87.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.8734, allocations: 0.627 MB / 0.6432 GB, free: 87.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.8735, allocations: 41.02 kB / 0.6432 GB, free: 87.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.8739, allocations: 0.5127 MB / 0.6437 GB, free: 86.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.8741, allocations: 213.2 kB / 0.6439 GB, free: 86.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.8741, allocations: 19.25 kB / 0.644 GB, free: 86.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8742, allocations: 395.3 kB / 0.6443 GB, free: 86.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.8747, allocations: 265.3 kB / 0.6446 GB, free: 86.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.8753, allocations: 0.5196 MB / 0.6451 GB, free: 85.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.8759, allocations: 406.5 kB / 0.6455 GB, free: 85.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.8759, allocations: 3 kB / 0.6455 GB, free: 85.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00185/0.8777, allocations: 1.046 MB / 0.6465 GB, free: 85.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.8778, allocations: 67.14 kB / 0.6466 GB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.8778, allocations: 6 kB / 0.6466 GB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.8784, allocations: 106.9 kB / 0.6467 GB, free: 85.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.8792, allocations: 210.5 kB / 0.6469 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.8807, allocations: 1.562 MB / 0.6484 GB, free: 83.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.8815, allocations: 113.5 kB / 0.6485 GB, free: 83.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.8816, allocations: 51.62 kB / 0.6486 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.0002675/0.8819, allocations: 235.1 kB / 0.6488 GB, free: 83.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.882, allocations: 83.06 kB / 0.6489 GB, free: 83.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.8856, allocations: 1.181 MB / 0.65 GB, free: 82.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8856, allocations: 8 kB / 0.65 GB, free: 82.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8856, allocations: 3.375 kB / 0.65 GB, free: 82.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.8857, allocations: 7.562 kB / 0.65 GB, free: 82.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.8885, allocations: 2.056 MB / 0.652 GB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.8885, allocations: 8.031 kB / 0.652 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.8889, allocations: 91.41 kB / 0.6521 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.891, allocations: 0.537 MB / 0.6527 GB, free: 79.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.8911, allocations: 23.12 kB / 0.6527 GB, free: 79.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/0.8918, allocations: 0.8639 MB / 0.6535 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8918, allocations: 4.031 kB / 0.6535 GB, free: 78.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.8935, allocations: 1.338 MB / 0.6548 GB, free: 77.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.8939, allocations: 249.5 kB / 0.6551 GB, free: 77.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.894, allocations: 19.61 kB / 0.6551 GB, free: 77.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.8945, allocations: 50.56 kB / 0.6551 GB, free: 77.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.8946, allocations: 42.77 kB / 0.6552 GB, free: 77.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.8947, allocations: 27.36 kB / 0.6552 GB, free: 77.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006018/0.8953, allocations: 495.3 kB / 0.6557 GB, free: 76.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8953, allocations: 0 / 0.6557 GB, free: 76.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001135/0.8965, allocations: 362.5 kB / 0.656 GB, free: 76.51 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.00143/0.8979, allocations: 0.6957 MB / 0.6567 GB, free: 76.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.8993, allocations: 0.9332 MB / 0.6576 GB, free: 75.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8994, allocations: 0.625 kB / 0.6576 GB, free: 75.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.8999, allocations: 474.2 kB / 0.6581 GB, free: 74.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.9007, allocations: 144.8 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.002153/0.9028, allocations: 1.245 MB / 0.6594 GB, free: 73.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.9033, allocations: 1.032 MB / 0.6604 GB, free: 72.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004427/0.9037, allocations: 111 kB / 0.6605 GB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.9039, allocations: 77.69 kB / 0.6606 GB, free: 72.32 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.904, allocations: 0 / 0.6606 GB, free: 72.32 MB / 394.7 MB Notification: Performance of Templates: time 0.02035/0.9243, allocations: 12.84 MB / 0.6731 GB, free: 60.12 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)