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.0285/0.0285, allocations: 5.382 MB / 20.65 MB, free: 1.664 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.0006589/0.0006589, allocations: 91.73 kB / 22.64 MB, free: 436 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.0008432/0.0008433, allocations: 185.5 kB / 24.74 MB, free: 1.805 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.278/1.278, allocations: 223.3 MB / 250 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008358/0.008358, allocations: 2.323 MB / 304.6 MB, free: 3.898 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006519, allocations: 15.98 kB / 372.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 52.2 MB / 424.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1637/0.2705, allocations: 6.33 MB / 430.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.2753, allocations: 3.823 MB / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006731/0.276, allocations: 24.72 kB / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.2771, allocations: 448.8 kB / 435.1 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.2787, allocations: 0.7616 MB / 435.9 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.28, allocations: 492.3 kB / 436.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.2811, allocations: 1.31 MB / 437.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.2829, allocations: 1.418 MB / 439.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.2833, allocations: 457.2 kB / 439.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.2841, allocations: 0.587 MB / 440.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2842, allocations: 60.09 kB / 440.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.2851, allocations: 347.9 kB / 440.6 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2853, allocations: 219.1 kB / 440.8 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.2856, allocations: 0.5662 MB / 441.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2867, allocations: 1.669 MB / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2867, allocations: 7.094 kB / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2868, allocations: 0 / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2868, allocations: 0 / 443 MB, free: 35.18 MB / 350.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.003173/0.2899, allocations: 1.584 MB / 444.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.29, allocations: 11.09 kB / 444.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.292, allocations: 381.2 kB / 445 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.2935, allocations: 0.8255 MB / 445.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.2936, allocations: 87.39 kB / 445.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2937, allocations: 104.8 kB / 446 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2956, allocations: 1.176 MB / 447.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.2956, allocations: 6.266 kB / 447.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.2957, allocations: 44.25 kB / 447.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2958, allocations: 28.45 kB / 447.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.2976, allocations: 1.077 MB / 448.3 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/0.3027, allocations: 4.396 MB / 452.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.3052, allocations: 1.745 MB / 454.5 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.3058, allocations: 328.4 kB / 454.8 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.3059, allocations: 102.2 kB / 454.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/0.3067, allocations: 471.3 kB / 455.3 MB, free: 28.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.3067, allocations: 0 / 455.3 MB, free: 28.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005445/0.3122, allocations: 1.639 MB / 457 MB, free: 27.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3123, allocations: 222.4 kB / 457.2 MB, free: 27.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.3131, allocations: 0.6473 MB / 457.8 MB, free: 27.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.3131, allocations: 47.47 kB / 457.9 MB, free: 27.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.3135, allocations: 0.5213 MB / 458.4 MB, free: 26.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3137, allocations: 232.6 kB / 458.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.3138, allocations: 80.81 kB / 458.7 MB, free: 26.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3139, allocations: 394.5 kB / 459.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/0.3145, allocations: 301.2 kB / 459.4 MB, free: 26.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.3152, allocations: 0.5428 MB / 459.9 MB, free: 25.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3164, allocations: 0.939 MB / 460.9 MB, free: 25.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3165, allocations: 3.25 kB / 460.9 MB, free: 25.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001983/0.3185, allocations: 1.119 MB / 462 MB, free: 24.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.3185, allocations: 61.12 kB / 462.1 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3185, allocations: 6.406 kB / 462.1 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.319, allocations: 89.2 kB / 462.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.3198, allocations: 233.2 kB / 462.4 MB, free: 24.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.3209, allocations: 1.47 MB / 463.9 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.3216, allocations: 107.7 kB / 464 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.3217, allocations: 46.41 kB / 464 MB, free: 23.09 MB / 350.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.0004141/0.3221, allocations: 335.5 kB / 464.3 MB, free: 22.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3222, allocations: 88.53 kB / 464.4 MB, free: 22.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.324, allocations: 1.023 MB / 465.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3241, allocations: 9.938 kB / 465.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.3241, allocations: 3.562 kB / 465.5 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3241, allocations: 3.469 kB / 465.5 MB, free: 22.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.3296, allocations: 2.337 MB / 467.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3296, allocations: 3.938 kB / 467.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.33, allocations: 98.72 kB / 467.9 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/0.3307, allocations: 337.8 kB / 468.2 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.3308, allocations: 28.48 kB / 468.3 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3319, allocations: 0.9028 MB / 469.2 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3319, allocations: 10.03 kB / 469.2 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.3342, allocations: 1.418 MB / 470.6 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.3344, allocations: 238.5 kB / 470.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3345, allocations: 25.66 kB / 470.8 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.3351, allocations: 54.44 kB / 470.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.3352, allocations: 47.83 kB / 470.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.3352, allocations: 29.53 kB / 471 MB, free: 19.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004376/0.3357, allocations: 453.6 kB / 471.4 MB, free: 19.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3357, allocations: 3.125 kB / 471.4 MB, free: 19.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008051/0.3365, allocations: 323.6 kB / 471.7 MB, free: 19.27 MB / 350.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.001202/0.3377, allocations: 0.6553 MB / 472.4 MB, free: 19.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3393, allocations: 1.002 MB / 473.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3393, allocations: 4.188 kB / 473.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.3401, allocations: 498.7 kB / 473.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.3409, allocations: 151.5 kB / 474 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3437, allocations: 2.281 MB / 476.3 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.3442, allocations: 1.017 MB / 477.3 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.3447, allocations: 133.4 kB / 477.5 MB, free: 16.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.3449, allocations: 82.06 kB / 477.5 MB, free: 16.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3449, allocations: 0 / 477.5 MB, free: 16.01 MB / 350.1 MB Notification: Performance of Templates: time 0.02075/0.3657, allocations: 11.44 MB / 489 MB, free: 14.15 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: