Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02588/0.02588, allocations: 5.392 MB / 20.51 MB, free: 2.066 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.0008211/0.0008211, allocations: 112.1 kB / 22.5 MB, free: 472 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.000914/0.000914, allocations: 193.5 kB / 24.59 MB, free: 1.781 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.199/1.199, allocations: 222.9 MB / 249.5 MB, free: 14.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008159/0.008159, allocations: 2.315 MB / 303.1 MB, free: 3.777 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 84.25 kB / 366.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08468, allocations: 51.21 MB / 417.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007114/0.09183, allocations: 6.832 MB / 424.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1484/0.2403, allocations: 3.883 MB / 428.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.241, allocations: 22.56 kB / 428.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.2432, allocations: 1.074 MB / 429.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.2447, allocations: 0.7726 MB / 430.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.246, allocations: 493.7 kB / 430.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008934/0.2469, allocations: 1.31 MB / 432 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.2479, allocations: 0.8589 MB / 432.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.2483, allocations: 0.4981 MB / 433.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.2489, allocations: 0.6465 MB / 434 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.249, allocations: 86.25 kB / 434.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.2496, allocations: 378.6 kB / 434.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2498, allocations: 255.2 kB / 434.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.2501, allocations: 0.5819 MB / 435.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2511, allocations: 1.718 MB / 437 MB, free: 34.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2512, allocations: 0.5 kB / 437 MB, free: 34.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2512, allocations: 4.812 kB / 437 MB, free: 34.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.2512, allocations: 0 / 437 MB, free: 34.55 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.003334/0.2545, allocations: 1.815 MB / 438.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2546, allocations: 6.406 kB / 438.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.2565, allocations: 380.6 kB / 439.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2579, allocations: 0.8179 MB / 440 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.258, allocations: 85.67 kB / 440.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2581, allocations: 113 kB / 440.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2598, allocations: 1.169 MB / 441.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2598, allocations: 3.281 kB / 441.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.2599, allocations: 45.91 kB / 441.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.26, allocations: 26.38 kB / 441.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.2617, allocations: 1.064 MB / 442.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.2668, allocations: 4.382 MB / 446.9 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.2689, allocations: 1.743 MB / 448.7 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/0.2695, allocations: 325.5 kB / 449 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.2696, allocations: 104.5 kB / 449.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/0.2703, allocations: 456.5 kB / 449.5 MB, free: 27.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.826e-06/0.2703, allocations: 4 kB / 449.5 MB, free: 27.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005411/0.2757, allocations: 1.592 MB / 451.1 MB, free: 27.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.2758, allocations: 229.1 kB / 451.3 MB, free: 27.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.2765, allocations: 0.6473 MB / 452 MB, free: 26.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.2765, allocations: 40.8 kB / 452 MB, free: 26.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.2768, allocations: 0.5239 MB / 452.5 MB, free: 26.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2769, allocations: 227.5 kB / 452.8 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2772, allocations: 189.7 kB / 453 MB, free: 26.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.2773, allocations: 396.7 kB / 453.3 MB, free: 25.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.2779, allocations: 295.7 kB / 453.6 MB, free: 25.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.2785, allocations: 0.5361 MB / 454.2 MB, free: 25.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2797, allocations: 0.9382 MB / 455.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2797, allocations: 3.188 kB / 455.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001878/0.2816, allocations: 1.112 MB / 456.2 MB, free: 24.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.2816, allocations: 63.31 kB / 456.3 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.2816, allocations: 7.5 kB / 456.3 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.2821, allocations: 89.14 kB / 456.4 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.2829, allocations: 225.4 kB / 456.6 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.284, allocations: 1.472 MB / 458.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/0.2847, allocations: 112.2 kB / 458.2 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.2848, allocations: 47.45 kB / 458.2 MB, free: 22.54 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.0004632/0.2853, allocations: 341.8 kB / 458.6 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.2854, allocations: 78.22 kB / 458.6 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.2873, allocations: 1.013 MB / 459.6 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.2873, allocations: 6 kB / 459.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2873, allocations: 6.344 kB / 459.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2874, allocations: 3.516 kB / 459.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.293, allocations: 2.321 MB / 462 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2931, allocations: 0 / 462 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.2934, allocations: 88.8 kB / 462.1 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/0.2942, allocations: 338.3 kB / 462.4 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.2943, allocations: 30.84 kB / 462.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2953, allocations: 0.886 MB / 463.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2954, allocations: 4 kB / 463.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2977, allocations: 1.402 MB / 464.7 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.298, allocations: 223.4 kB / 464.9 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2982, allocations: 19.88 kB / 465 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.2988, allocations: 58 kB / 465 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.2989, allocations: 40.56 kB / 465.1 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.299, allocations: 32.14 kB / 465.1 MB, free: 19.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.2995, allocations: 455.9 kB / 465.5 MB, free: 18.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 0 / 465.5 MB, free: 18.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009445/0.3005, allocations: 322.6 kB / 465.9 MB, free: 18.77 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.001267/0.3017, allocations: 0.6532 MB / 466.5 MB, free: 18.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3035, allocations: 0.9923 MB / 467.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3035, allocations: 0 / 467.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007553/0.3043, allocations: 0.4912 MB / 468 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.3051, allocations: 152 kB / 468.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.3083, allocations: 2.204 MB / 470.3 MB, free: 16.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.3088, allocations: 1.017 MB / 471.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.3093, allocations: 131.6 kB / 471.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.3096, allocations: 82.25 kB / 471.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3096, allocations: 0 / 471.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Templates: time 0.02129/0.3309, allocations: 11.55 MB / 483.1 MB, free: 14.32 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)