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.04237/0.04237, allocations: 5.38 MB / 20.36 MB, free: 2.23 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.0006245/0.000625, allocations: 101.5 kB / 22.34 MB, free: 0.7617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 177.6 kB / 24.41 MB, free: 1.98 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.413/1.413, allocations: 223.3 MB / 249.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009199/0.009199, allocations: 2.31 MB / 304.2 MB, free: 3.324 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004298, allocations: 19.94 kB / 371.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 52.19 MB / 423.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.2086/0.3137, allocations: 5.95 MB / 429.7 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.3189, allocations: 3.622 MB / 433.4 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.3197, allocations: 22.38 kB / 433.4 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3208, allocations: 393.6 kB / 433.8 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.3223, allocations: 0.6845 MB / 434.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3235, allocations: 422 kB / 434.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3247, allocations: 1.232 MB / 436.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.3265, allocations: 1.255 MB / 437.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.3271, allocations: 444.9 kB / 437.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.3278, allocations: 0.5644 MB / 438.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3279, allocations: 63.08 kB / 438.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006755/0.3286, allocations: 326.2 kB / 438.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3287, allocations: 210.2 kB / 438.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.3289, allocations: 233.2 kB / 439.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009784/0.3299, allocations: 1.337 MB / 440.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3299, allocations: 0 / 440.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3299, allocations: 0 / 440.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.3299, allocations: 0 / 440.5 MB, free: 36.69 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.003026/0.333, allocations: 1.595 MB / 442.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.333, allocations: 9.688 kB / 442.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.3349, allocations: 383.9 kB / 442.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3363, allocations: 0.7986 MB / 443.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.3364, allocations: 77.11 kB / 443.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3365, allocations: 114.8 kB / 443.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3382, allocations: 1.169 MB / 444.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3383, allocations: 0 / 444.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.3384, allocations: 49.22 kB / 444.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3384, allocations: 25.44 kB / 444.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.3402, allocations: 1.069 MB / 445.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.3456, allocations: 4.397 MB / 450.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.3477, allocations: 1.736 MB / 451.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.3482, allocations: 333 kB / 452.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.12e-05/0.3483, allocations: 98.34 kB / 452.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/0.3491, allocations: 468.5 kB / 452.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.3491, allocations: 0 / 452.8 MB, free: 29.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005292/0.3544, allocations: 1.627 MB / 454.4 MB, free: 28.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3545, allocations: 219.7 kB / 454.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.3554, allocations: 0.6467 MB / 455.3 MB, free: 28.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.3555, allocations: 48.2 kB / 455.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.3559, allocations: 0.5206 MB / 455.8 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.3561, allocations: 230.4 kB / 456.1 MB, free: 27.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.3562, allocations: 19.25 kB / 456.1 MB, free: 27.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3563, allocations: 398.4 kB / 456.5 MB, free: 27.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.3569, allocations: 297 kB / 456.8 MB, free: 27.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.3576, allocations: 0.5376 MB / 457.3 MB, free: 26.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.3583, allocations: 423.2 kB / 457.7 MB, free: 26.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3583, allocations: 3.062 kB / 457.7 MB, free: 26.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001795/0.3601, allocations: 1.112 MB / 458.8 MB, free: 26.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.3601, allocations: 61.91 kB / 458.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3602, allocations: 12.25 kB / 458.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.3606, allocations: 83.72 kB / 459 MB, free: 25.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.3614, allocations: 221.7 kB / 459.2 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.3626, allocations: 1.482 MB / 460.7 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.3633, allocations: 104.6 kB / 460.8 MB, free: 24.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.3634, allocations: 47.22 kB / 460.8 MB, free: 24.42 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 ($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 () * 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 (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.0004196/0.3638, allocations: 341.9 kB / 461.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.3639, allocations: 90.09 kB / 461.3 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.3656, allocations: 1.015 MB / 462.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3656, allocations: 8.594 kB / 462.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3657, allocations: 3.953 kB / 462.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3657, allocations: 3.562 kB / 462.3 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/0.3708, allocations: 2.344 MB / 464.6 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3708, allocations: 0 / 464.6 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.3711, allocations: 98.7 kB / 464.7 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/0.3719, allocations: 336.8 kB / 465.1 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.3719, allocations: 28.8 kB / 465.1 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.373, allocations: 0.9059 MB / 466 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.373, allocations: 1.188 kB / 466 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.3752, allocations: 1.413 MB / 467.4 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.3755, allocations: 233.2 kB / 467.6 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.3756, allocations: 21.53 kB / 467.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.3761, allocations: 56.36 kB / 467.7 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.3762, allocations: 43.95 kB / 467.7 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.3762, allocations: 31.75 kB / 467.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.3767, allocations: 449 kB / 468.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3767, allocations: 4 kB / 468.2 MB, free: 20.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000868/0.3776, allocations: 322.4 kB / 468.5 MB, free: 20.61 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.3789, allocations: 0.6718 MB / 469.2 MB, free: 20.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3805, allocations: 0.9899 MB / 470.2 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3805, allocations: 4.469 kB / 470.2 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006992/0.3812, allocations: 0.4935 MB / 470.7 MB, free: 19.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.3819, allocations: 147.2 kB / 470.8 MB, free: 19.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.3849, allocations: 2.151 MB / 473 MB, free: 18.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3854, allocations: 1.021 MB / 474 MB, free: 17.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.3859, allocations: 134.1 kB / 474.1 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3861, allocations: 78.42 kB / 474.2 MB, free: 17.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3861, allocations: 0 / 474.2 MB, free: 17.46 MB / 350.1 MB Notification: Performance of Templates: time 0.02085/0.407, allocations: 11.18 MB / 485.4 MB, free: 15.96 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: