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.04748/0.04748, allocations: 5.39 MB / 20.89 MB, free: 1.363 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.0106/0.0106, allocations: 105.3 kB / 22.89 MB, free: 0.7578 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.001967/0.001967, allocations: 196.5 kB / 24.99 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 249.9 MB, free: 8.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009289/0.009289, allocations: 2.326 MB / 303.5 MB, free: 6.535 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 95.84 kB / 370.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1773, allocations: 51.22 MB / 421.9 MB, free: 25.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.005955/0.1833, allocations: 6.834 MB / 428.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1878, allocations: 3.943 MB / 432.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.1885, allocations: 20 kB / 432.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.1906, allocations: 1.158 MB / 433.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1921, allocations: 0.8534 MB / 434.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1935, allocations: 0.5461 MB / 435.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.1944, allocations: 1.394 MB / 436.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.1955, allocations: 1.021 MB / 437.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.196, allocations: 0.5604 MB / 438.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.1965, allocations: 0.6847 MB / 438.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1967, allocations: 140 kB / 439 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006758/0.1974, allocations: 443.6 kB / 439.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.1975, allocations: 314.9 kB / 439.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.1979, allocations: 0.6297 MB / 440.4 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1992, allocations: 1.78 MB / 442.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1992, allocations: 3.938 kB / 442.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1992, allocations: 0 / 442.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1992, allocations: 4 kB / 442.2 MB, free: 5.523 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.003544/0.2028, allocations: 1.806 MB / 444 MB, free: 3.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2028, allocations: 8.031 kB / 444 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.2048, allocations: 383.1 kB / 444.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.2064, allocations: 0.8244 MB / 445.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.2064, allocations: 78.08 kB / 445.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2066, allocations: 108 kB / 445.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.2082, allocations: 1.165 MB / 446.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.2083, allocations: 7.938 kB / 446.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.2084, allocations: 47.98 kB / 446.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.2084, allocations: 24 kB / 446.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.2103, allocations: 1.07 MB / 447.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006189/0.2165, allocations: 4.392 MB / 452.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.2191, allocations: 1.732 MB / 453.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.2198, allocations: 331.8 kB / 454.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.2199, allocations: 97.66 kB / 454.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/0.2208, allocations: 461.7 kB / 454.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.334e-06/0.2208, allocations: 0 / 454.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.00595/0.2267, allocations: 1.588 MB / 456.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.2269, allocations: 222.2 kB / 456.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.2277, allocations: 0.6486 MB / 457.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.2278, allocations: 49.72 kB / 457.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.2282, allocations: 0.518 MB / 457.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.2284, allocations: 236.7 kB / 457.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.2287, allocations: 182.5 kB / 458.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2289, allocations: 390.7 kB / 458.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.2296, allocations: 305.8 kB / 458.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.2304, allocations: 0.5309 MB / 459.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.2319, allocations: 0.9361 MB / 460.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.232, allocations: 4 kB / 460.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002231/0.2342, allocations: 1.114 MB / 461.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.2343, allocations: 61.56 kB / 461.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2343, allocations: 12 kB / 461.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/0.2348, allocations: 88.72 kB / 461.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.2357, allocations: 231.5 kB / 461.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2372, allocations: 1.578 MB / 463.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/0.2379, allocations: 107.2 kB / 463.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.238, allocations: 43.98 kB / 463.5 MB, free: 15.04 MB / 334.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.0004499/0.2385, allocations: 347.1 kB / 463.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2386, allocations: 79.06 kB / 463.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.2407, allocations: 1.014 MB / 464.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2407, allocations: 8 kB / 464.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2407, allocations: 0 / 464.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.2407, allocations: 3.984 kB / 464.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.2468, allocations: 2.313 MB / 467.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2468, allocations: 0 / 467.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.2472, allocations: 95.89 kB / 467.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008249/0.248, allocations: 342.2 kB / 467.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.2481, allocations: 23.98 kB / 467.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.2494, allocations: 0.9012 MB / 468.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2494, allocations: 0 / 468.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.252, allocations: 1.401 MB / 470 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.2523, allocations: 220 kB / 470.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.2525, allocations: 31.88 kB / 470.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.253, allocations: 47.97 kB / 470.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.2531, allocations: 40.5 kB / 470.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.2532, allocations: 35.91 kB / 470.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005184/0.2537, allocations: 451 kB / 470.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2537, allocations: 0 / 470.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008792/0.2546, allocations: 327 kB / 471.1 MB, free: 7.168 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.001321/0.2559, allocations: 0.6584 MB / 471.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.258, allocations: 1.023 MB / 472.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.258, allocations: 0 / 472.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.2589, allocations: 498.4 kB / 473.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.2597, allocations: 158.8 kB / 473.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.2625, allocations: 1.764 MB / 475.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.2631, allocations: 1.022 MB / 476.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004622/0.2635, allocations: 130.4 kB / 476.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.2637, allocations: 79.41 kB / 476.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2637, allocations: 0 / 476.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Templates: time 0.01969/0.2834, allocations: 12.1 MB / 488.5 MB, free: 5.965 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)