Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002677/0.002677, allocations: 179.2 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.047/1.047, allocations: 221.4 MB / 229.3 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 96.02 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02242/0.02242, allocations: 5.295 MB / 336.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.0073/0.0073, allocations: 2.291 MB / 390.4 MB, free: 74.73 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.521e-06, allocations: 0 / 451.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 52.18 MB / 0.4917 GB, free: 43.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.2973, allocations: 98.04 MB / 0.5874 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.2976, allocations: 67.97 kB / 0.5875 GB, free: 12.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.2184/0.516, allocations: 37.29 MB / 0.6239 GB, free: 93.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.516, allocations: 25.25 kB / 0.6239 GB, free: 93.31 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002301/0.5184, allocations: 1.413 MB / 0.6253 GB, free: 92.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.5184, allocations: 10.39 kB / 0.6253 GB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.5198, allocations: 320.5 kB / 0.6256 GB, free: 92.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.5207, allocations: 0.6461 MB / 0.6263 GB, free: 92.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.5207, allocations: 39.56 kB / 0.6263 GB, free: 92.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5208, allocations: 65.16 kB / 0.6264 GB, free: 92.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/0.5223, allocations: 1.03 MB / 0.6274 GB, free: 92.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5236, allocations: 0.9687 MB / 0.6283 GB, free: 92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.5237, allocations: 10.06 kB / 0.6283 GB, free: 92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.5238, allocations: 4 kB / 0.6283 GB, free: 91.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5238, allocations: 28.53 kB / 0.6284 GB, free: 91.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004857/0.5286, allocations: 4.378 MB / 0.6326 GB, free: 90.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.5295, allocations: 0.6689 MB / 0.6333 GB, free: 90.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.5299, allocations: 320.7 kB / 0.6336 GB, free: 90.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.53, allocations: 95.8 kB / 0.6337 GB, free: 90.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.5304, allocations: 452 kB / 0.6341 GB, free: 89.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 1.954e-06/0.5304, allocations: 0 / 0.6341 GB, free: 89.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003489/0.5339, allocations: 1.019 MB / 0.6351 GB, free: 89.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.534, allocations: 246.8 kB / 0.6353 GB, free: 89.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.5346, allocations: 0.6056 MB / 0.6359 GB, free: 89.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.5346, allocations: 31.73 kB / 0.636 GB, free: 89.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.5348, allocations: 446.7 kB / 0.6364 GB, free: 89.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5349, allocations: 226.7 kB / 0.6366 GB, free: 88.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.535, allocations: 0 / 0.6366 GB, free: 88.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.5351, allocations: 394.4 kB / 0.637 GB, free: 88.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.5354, allocations: 282.3 kB / 0.6373 GB, free: 88.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.5359, allocations: 0.5213 MB / 0.6378 GB, free: 88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.5365, allocations: 364 kB / 0.6381 GB, free: 87.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5365, allocations: 3.969 kB / 0.6381 GB, free: 87.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001585/0.5381, allocations: 0.9991 MB / 0.6391 GB, free: 87.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5381, allocations: 3.844 kB / 0.6391 GB, free: 87.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5381, allocations: 7.875 kB / 0.6391 GB, free: 87.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.5386, allocations: 99.88 kB / 0.6392 GB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.5394, allocations: 219.8 kB / 0.6394 GB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.5406, allocations: 1.504 MB / 0.6409 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.5412, allocations: 85.66 kB / 0.641 GB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.5413, allocations: 41.64 kB / 0.641 GB, free: 86.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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.0001586/0.5415, allocations: 205 kB / 0.6412 GB, free: 85.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5416, allocations: 82.81 kB / 0.6413 GB, free: 85.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.5452, allocations: 1.182 MB / 0.6424 GB, free: 85.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5452, allocations: 7.75 kB / 0.6424 GB, free: 85.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5453, allocations: 4 kB / 0.6424 GB, free: 85.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5453, allocations: 6.969 kB / 0.6424 GB, free: 85.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/0.5501, allocations: 2.23 MB / 0.6446 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5502, allocations: 4.562 kB / 0.6446 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.5506, allocations: 110.2 kB / 0.6447 GB, free: 84.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.553, allocations: 0.553 MB / 0.6453 GB, free: 84.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.5531, allocations: 19.27 kB / 0.6453 GB, free: 84.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006669/0.5537, allocations: 0.8422 MB / 0.6461 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5538, allocations: 4.062 kB / 0.6461 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004037/0.5578, allocations: 1.604 MB / 0.6477 GB, free: 82.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.5581, allocations: 266 kB / 0.6479 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5583, allocations: 14.31 kB / 0.6479 GB, free: 82.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.5588, allocations: 37.55 kB / 0.648 GB, free: 82.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5589, allocations: 42.94 kB / 0.648 GB, free: 82.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.5589, allocations: 36.03 kB / 0.6481 GB, free: 82.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004754/0.5594, allocations: 458.6 kB / 0.6485 GB, free: 82.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000881/0.5603, allocations: 343 kB / 0.6488 GB, free: 82.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0009378/0.5612, allocations: 0.5996 MB / 0.6494 GB, free: 82.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.5625, allocations: 0.9014 MB / 0.6503 GB, free: 81.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5625, allocations: 3.938 kB / 0.6503 GB, free: 81.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.5631, allocations: 450.8 kB / 0.6507 GB, free: 81.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.5637, allocations: 112.5 kB / 0.6508 GB, free: 81.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.5658, allocations: 1.295 MB / 0.6521 GB, free: 80.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.5664, allocations: 1.135 MB / 0.6532 GB, free: 79.43 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5664, allocations: 0 / 0.6532 GB, free: 79.43 MB / 394.7 MB Notification: Performance of Templates: time 0.01576/0.5822, allocations: 12.31 MB / 0.6652 GB, free: 69.57 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)