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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 169.4 kB / 7.639 MB, free: 1.414 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.341/1.341, allocations: 221.5 MB / 229.6 MB, free: 3.105 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.000917/0.0009169, allocations: 91.44 kB / 280.5 MB, free: 1.121 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02444/0.02444, allocations: 5.295 MB / 336.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008046/0.008046, allocations: 2.296 MB / 390.8 MB, free: 74.52 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.09e-05, allocations: 3.984 kB / 452 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2582, allocations: 52.18 MB / 0.4923 GB, free: 43.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3775, allocations: 98.07 MB / 0.5881 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.3778, allocations: 63.98 kB / 0.5881 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/0.7072, allocations: 35.96 MB / 0.6233 GB, free: 93.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7072, allocations: 6.656 kB / 0.6233 GB, free: 93.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.7073, allocations: 23.59 kB / 0.6233 GB, free: 93.12 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.003207/0.7105, allocations: 1.361 MB / 0.6246 GB, free: 92.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7106, allocations: 7.719 kB / 0.6246 GB, free: 92.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.7122, allocations: 311.8 kB / 0.6249 GB, free: 92.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.7131, allocations: 0.6516 MB / 0.6256 GB, free: 92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.7132, allocations: 35.09 kB / 0.6256 GB, free: 92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.7134, allocations: 69.05 kB / 0.6257 GB, free: 92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/0.7149, allocations: 1.031 MB / 0.6267 GB, free: 91.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7164, allocations: 0.9728 MB / 0.6276 GB, free: 91.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.7164, allocations: 0 / 0.6276 GB, free: 91.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.331e-05/0.7165, allocations: 3.156 kB / 0.6276 GB, free: 91.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.7165, allocations: 25.25 kB / 0.6276 GB, free: 91.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.7222, allocations: 4.392 MB / 0.6319 GB, free: 90.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.724, allocations: 1.751 MB / 0.6336 GB, free: 88.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.7244, allocations: 293.1 kB / 0.6339 GB, free: 88.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-05/0.7245, allocations: 96.95 kB / 0.634 GB, free: 88.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/0.7251, allocations: 442.7 kB / 0.6344 GB, free: 88.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/0.7251, allocations: 0 / 0.6344 GB, free: 88.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003583/0.7287, allocations: 1.044 MB / 0.6355 GB, free: 88.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.7288, allocations: 252.4 kB / 0.6357 GB, free: 88.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.7295, allocations: 0.6055 MB / 0.6363 GB, free: 88.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.7296, allocations: 25.7 kB / 0.6363 GB, free: 88.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.7299, allocations: 0.5222 MB / 0.6368 GB, free: 87.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.7301, allocations: 229 kB / 0.637 GB, free: 87.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.7301, allocations: 0 / 0.637 GB, free: 87.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.7302, allocations: 391.2 kB / 0.6374 GB, free: 87.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.7306, allocations: 277.8 kB / 0.6377 GB, free: 87.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.7311, allocations: 0.5116 MB / 0.6382 GB, free: 86.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.7318, allocations: 407.4 kB / 0.6386 GB, free: 86.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.7318, allocations: 3.938 kB / 0.6386 GB, free: 86.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00185/0.7336, allocations: 1.019 MB / 0.6396 GB, free: 86.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.7337, allocations: 66.8 kB / 0.6396 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7337, allocations: 7.812 kB / 0.6396 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/0.7342, allocations: 98.16 kB / 0.6397 GB, free: 86.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.735, allocations: 218 kB / 0.6399 GB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.7363, allocations: 1.508 MB / 0.6414 GB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.7371, allocations: 88.2 kB / 0.6415 GB, free: 84.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.7372, allocations: 44.27 kB / 0.6415 GB, free: 84.89 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.0003054/0.7375, allocations: 206.7 kB / 0.6417 GB, free: 84.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.7376, allocations: 81.44 kB / 0.6418 GB, free: 84.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.7413, allocations: 1.219 MB / 0.643 GB, free: 84.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.7413, allocations: 7.094 kB / 0.643 GB, free: 84.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7413, allocations: 3.188 kB / 0.643 GB, free: 84.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7413, allocations: 3.891 kB / 0.643 GB, free: 84.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.744, allocations: 2.034 MB / 0.645 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7441, allocations: 0 / 0.645 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.7445, allocations: 112.2 kB / 0.6451 GB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.7466, allocations: 0.5415 MB / 0.6456 GB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.7467, allocations: 21.44 kB / 0.6457 GB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006664/0.7474, allocations: 0.8594 MB / 0.6465 GB, free: 82.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7474, allocations: 0 / 0.6465 GB, free: 82.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.7492, allocations: 1.36 MB / 0.6478 GB, free: 81.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.7495, allocations: 266.4 kB / 0.6481 GB, free: 81.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7497, allocations: 11.59 kB / 0.6481 GB, free: 81.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.7502, allocations: 29.33 kB / 0.6481 GB, free: 81.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.7503, allocations: 53.69 kB / 0.6482 GB, free: 81.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.7503, allocations: 31.91 kB / 0.6482 GB, free: 81.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004984/0.7508, allocations: 457.8 kB / 0.6486 GB, free: 81.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7508, allocations: 0 / 0.6486 GB, free: 81.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001165/0.752, allocations: 345.3 kB / 0.649 GB, free: 81.28 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.001396/0.7534, allocations: 0.6414 MB / 0.6496 GB, free: 81.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.7548, allocations: 0.9404 MB / 0.6505 GB, free: 80.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7548, allocations: 0 / 0.6505 GB, free: 80.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.7554, allocations: 498 kB / 0.651 GB, free: 80.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.7561, allocations: 111.1 kB / 0.6511 GB, free: 80.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.7582, allocations: 1.27 MB / 0.6523 GB, free: 79.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7586, allocations: 1.047 MB / 0.6534 GB, free: 78.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.759, allocations: 123.2 kB / 0.6535 GB, free: 78.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.7592, allocations: 77.33 kB / 0.6535 GB, free: 78.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7592, allocations: 0 / 0.6535 GB, free: 78.77 MB / 394.7 MB Notification: Performance of Templates: time 0.01691/0.7762, allocations: 11.42 MB / 0.6647 GB, free: 70.07 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)