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/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) 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/PhotoVoltaics 2.0.0/package.mo): time 0.02595/0.02595, allocations: 5.383 MB / 20.5 MB, free: 2.109 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.0008268/0.0008266, allocations: 112.1 kB / 22.5 MB, free: 492 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 185.8 kB / 24.59 MB, free: 0.7227 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.198/1.198, allocations: 222.9 MB / 249.4 MB, free: 8.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008562/0.008562, allocations: 2.324 MB / 303.1 MB, free: 6.758 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 91.86 kB / 369.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.174, allocations: 51.2 MB / 421 MB, free: 26.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.005566/0.1796, allocations: 6.827 MB / 427.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.1835, allocations: 3.889 MB / 431.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.1839, allocations: 16 kB / 431.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1857, allocations: 1.096 MB / 432.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1869, allocations: 0.7698 MB / 433.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1879, allocations: 0.4887 MB / 434.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.1887, allocations: 1.308 MB / 435.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/0.1895, allocations: 0.8434 MB / 436.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.1899, allocations: 0.5096 MB / 436.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.1904, allocations: 0.6457 MB / 437.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.1905, allocations: 84 kB / 437.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.191, allocations: 367.7 kB / 437.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1911, allocations: 270.8 kB / 438.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1915, allocations: 0.5789 MB / 438.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.1924, allocations: 1.721 MB / 440.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1925, allocations: 0 / 440.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1925, allocations: 0 / 440.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1925, allocations: 0 / 440.4 MB, free: 6.695 MB / 302.1 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.003268/0.1958, allocations: 1.806 MB / 442.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.1958, allocations: 8.031 kB / 442.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.1977, allocations: 383.1 kB / 442.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.1991, allocations: 0.8282 MB / 443.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.1991, allocations: 78.08 kB / 443.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1993, allocations: 108 kB / 443.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2009, allocations: 1.169 MB / 444.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.2009, allocations: 0 / 444.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/0.201, allocations: 48 kB / 444.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.201, allocations: 28 kB / 444.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.2028, allocations: 1.07 MB / 446 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005743/0.2085, allocations: 4.376 MB / 450.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.2112, allocations: 1.743 MB / 452.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.2118, allocations: 331.2 kB / 452.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.2119, allocations: 101.6 kB / 452.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008068/0.2128, allocations: 465.6 kB / 453 MB, free: 9.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.445e-06/0.2128, allocations: 0 / 453 MB, free: 9.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005779/0.2186, allocations: 1.588 MB / 454.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.2187, allocations: 226.2 kB / 454.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2194, allocations: 0.6485 MB / 455.4 MB, free: 7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.2195, allocations: 45.69 kB / 455.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.2198, allocations: 0.518 MB / 456 MB, free: 6.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.22, allocations: 232.8 kB / 456.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.2203, allocations: 186.5 kB / 456.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2205, allocations: 386.7 kB / 456.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.2211, allocations: 305.8 kB / 457.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007624/0.2219, allocations: 0.5387 MB / 457.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2234, allocations: 0.9321 MB / 458.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2234, allocations: 4 kB / 458.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002101/0.2255, allocations: 1.114 MB / 459.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.2256, allocations: 73.67 kB / 459.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2256, allocations: 8 kB / 459.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.2261, allocations: 84.78 kB / 459.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/0.227, allocations: 227.8 kB / 460 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2284, allocations: 1.468 MB / 461.5 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.2291, allocations: 115 kB / 461.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.2292, allocations: 48.08 kB / 461.7 MB, free: 320 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,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 (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003824/0.2296, allocations: 343.1 kB / 462 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2297, allocations: 83 kB / 462.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2317, allocations: 1.007 MB / 463.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2317, allocations: 8 kB / 463.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2317, allocations: 0 / 463.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2317, allocations: 7.984 kB / 463.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.2376, allocations: 2.309 MB / 465.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2376, allocations: 3.984 kB / 465.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.238, allocations: 95.89 kB / 465.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/0.2388, allocations: 334.2 kB / 465.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.2389, allocations: 27.97 kB / 465.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.2401, allocations: 0.8858 MB / 466.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2401, allocations: 3.938 kB / 466.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.2427, allocations: 1.397 MB / 468.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.2429, allocations: 224 kB / 468.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.243, allocations: 27.94 kB / 468.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.2436, allocations: 47.95 kB / 468.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.2437, allocations: 44.45 kB / 468.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.2437, allocations: 27.97 kB / 468.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004862/0.2442, allocations: 459 kB / 469 MB, free: 8.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2442, allocations: 3.938 kB / 469 MB, free: 8.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.245, allocations: 330.9 kB / 469.3 MB, free: 8.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.2463, allocations: 0.656 MB / 469.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.248, allocations: 0.991 MB / 470.9 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.248, allocations: 1.375 kB / 470.9 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.2488, allocations: 497.9 kB / 471.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.2496, allocations: 154.8 kB / 471.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.2525, allocations: 2.204 MB / 473.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.2531, allocations: 1.018 MB / 474.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.2536, allocations: 134.4 kB / 474.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.2538, allocations: 75.41 kB / 475 MB, free: 2.848 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2538, allocations: 0 / 475 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Templates: time 0.01823/0.272, allocations: 11.55 MB / 486.5 MB, free: 7.391 MB / 350.1 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)