Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02924/0.02924, allocations: 5.393 MB / 21.65 MB, free: 1.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.001063/0.001063, allocations: 104.4 kB / 23.65 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.001078/0.001078, allocations: 196.6 kB / 25.77 MB, free: 4.551 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 250.6 MB, free: 8.461 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00908/0.00908, allocations: 2.319 MB / 304.3 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 87.86 kB / 368.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1828, allocations: 51.22 MB / 419.8 MB, free: 26.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.0062/0.189, allocations: 6.848 MB / 426.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1937, allocations: 3.939 MB / 430.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.1944, allocations: 23.88 kB / 430.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.1965, allocations: 1.158 MB / 431.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1979, allocations: 0.8584 MB / 432.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1994, allocations: 0.539 MB / 433.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.2002, allocations: 1.408 MB / 434.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.2011, allocations: 1.024 MB / 435.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.2015, allocations: 0.5565 MB / 436.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.202, allocations: 0.6847 MB / 436.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.2022, allocations: 144 kB / 437 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.2027, allocations: 431.7 kB / 437.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2029, allocations: 314.9 kB / 437.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.2032, allocations: 0.6414 MB / 438.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2043, allocations: 1.799 MB / 440.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2043, allocations: 8 kB / 440.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2043, allocations: 0 / 440.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2044, allocations: 0 / 440.2 MB, free: 5.828 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.00312/0.2075, allocations: 1.804 MB / 442 MB, free: 3.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.2075, allocations: 11.97 kB / 442 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.2094, allocations: 379.1 kB / 442.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.2108, allocations: 0.8322 MB / 443.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.2108, allocations: 78.08 kB / 443.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.211, allocations: 112 kB / 443.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.2125, allocations: 1.169 MB / 444.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.2126, allocations: 3.938 kB / 444.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.2126, allocations: 48 kB / 444.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2127, allocations: 24 kB / 444.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.2143, allocations: 1.066 MB / 445.7 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005682/0.22, allocations: 4.349 MB / 450 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.2224, allocations: 1.748 MB / 451.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.223, allocations: 323.8 kB / 452.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2232, allocations: 97.66 kB / 452.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.2239, allocations: 457.7 kB / 452.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.454e-06/0.2239, allocations: 8 kB / 452.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005375/0.2293, allocations: 1.596 MB / 454.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2294, allocations: 218.2 kB / 454.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.2302, allocations: 0.6563 MB / 455.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.2302, allocations: 41.7 kB / 455.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.2306, allocations: 0.518 MB / 455.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.2307, allocations: 236.8 kB / 455.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.231, allocations: 186.5 kB / 456.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2312, allocations: 390.7 kB / 456.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.2318, allocations: 293.8 kB / 456.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.2325, allocations: 0.5348 MB / 457.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.2339, allocations: 0.9361 MB / 458.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.2339, allocations: 7.938 kB / 458.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002065/0.236, allocations: 1.106 MB / 459.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.236, allocations: 63.41 kB / 459.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2361, allocations: 4 kB / 459.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.2365, allocations: 100.9 kB / 459.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.2373, allocations: 219.6 kB / 459.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2388, allocations: 1.582 MB / 461.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.2395, allocations: 107.1 kB / 461.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.2395, allocations: 43.98 kB / 461.4 MB, free: 15.38 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.0004217/0.24, allocations: 343.1 kB / 461.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2401, allocations: 91.11 kB / 461.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.2421, allocations: 1.007 MB / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2421, allocations: 8 kB / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2421, allocations: 0 / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.2421, allocations: 3.984 kB / 462.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.2479, allocations: 2.298 MB / 465.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2479, allocations: 0 / 465.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.2483, allocations: 99.92 kB / 465.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.249, allocations: 334.2 kB / 465.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.2491, allocations: 23.98 kB / 465.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.2504, allocations: 0.909 MB / 466.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2504, allocations: 3.938 kB / 466.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.2529, allocations: 1.406 MB / 468 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.2532, allocations: 220 kB / 468.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2533, allocations: 27.94 kB / 468.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.2538, allocations: 43.95 kB / 468.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.2539, allocations: 44.52 kB / 468.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.254, allocations: 31.97 kB / 468.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000516/0.2545, allocations: 451 kB / 468.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2545, allocations: 0 / 468.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008868/0.2554, allocations: 327 kB / 469.1 MB, free: 7.52 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.001343/0.2568, allocations: 0.6515 MB / 469.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.2585, allocations: 0.9999 MB / 470.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2585, allocations: 0 / 470.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.2594, allocations: 498.1 kB / 471.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.2601, allocations: 164.7 kB / 471.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2628, allocations: 1.741 MB / 473.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.2633, allocations: 1.018 MB / 474.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.2637, allocations: 130.4 kB / 474.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2639, allocations: 79.39 kB / 474.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2639, allocations: 0 / 474.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Templates: time 0.01899/0.2829, allocations: 12.04 MB / 486.4 MB, free: 6.41 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)