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.0276/0.0276, allocations: 5.391 MB / 20.62 MB, free: 2.02 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.000918/0.0009181, allocations: 100.1 kB / 22.61 MB, free: 408 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.001124/0.001124, allocations: 190.8 kB / 24.7 MB, free: 1.711 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.239/1.239, allocations: 222.9 MB / 249.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008445/0.008445, allocations: 2.315 MB / 303.2 MB, free: 3.914 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 91.86 kB / 366.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08565, allocations: 51.2 MB / 417.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007196/0.09288, allocations: 6.825 MB / 424.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.2492, allocations: 3.858 MB / 428.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.25, allocations: 22.56 kB / 428.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.2524, allocations: 1.074 MB / 429.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.2541, allocations: 0.7585 MB / 430.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2556, allocations: 0.4901 MB / 430.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.2569, allocations: 1.411 MB / 432.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.2581, allocations: 1.086 MB / 433.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.2587, allocations: 0.5565 MB / 433.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.2593, allocations: 0.6856 MB / 434.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.2595, allocations: 141.9 kB / 434.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.2602, allocations: 444.3 kB / 435.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2604, allocations: 311.1 kB / 435.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004008/0.2608, allocations: 0.6422 MB / 436.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.2621, allocations: 1.774 MB / 437.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2621, allocations: 4 kB / 437.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2621, allocations: 3.188 kB / 437.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2621, allocations: 0 / 437.9 MB, free: 34.63 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.003377/0.2655, allocations: 1.807 MB / 439.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2655, allocations: 9.281 kB / 439.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.2675, allocations: 372.3 kB / 440.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.269, allocations: 0.8245 MB / 440.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.269, allocations: 87.09 kB / 441 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2692, allocations: 103.7 kB / 441.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2709, allocations: 1.174 MB / 442.3 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2709, allocations: 0 / 442.3 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.271, allocations: 42.47 kB / 442.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.2711, allocations: 32.59 kB / 442.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.2728, allocations: 1.071 MB / 443.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005059/0.2779, allocations: 4.378 MB / 447.8 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.28, allocations: 1.737 MB / 449.5 MB, free: 28.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.2806, allocations: 337.4 kB / 449.9 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.2807, allocations: 94.62 kB / 449.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007077/0.2814, allocations: 468.5 kB / 450.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.484e-06/0.2814, allocations: 0 / 450.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005367/0.2868, allocations: 1.596 MB / 452 MB, free: 27.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.2868, allocations: 223.1 kB / 452.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.2876, allocations: 0.6523 MB / 452.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.2876, allocations: 40.14 kB / 452.9 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.2879, allocations: 0.5191 MB / 453.4 MB, free: 26.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.2881, allocations: 233.2 kB / 453.7 MB, free: 25.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.2883, allocations: 186.5 kB / 453.8 MB, free: 25.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.2884, allocations: 389.9 kB / 454.2 MB, free: 25.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.289, allocations: 302 kB / 454.5 MB, free: 25.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.2896, allocations: 0.5368 MB / 455.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2908, allocations: 0.9366 MB / 456 MB, free: 24.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2908, allocations: 0 / 456 MB, free: 24.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001876/0.2927, allocations: 1.125 MB / 457.1 MB, free: 23.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.2927, allocations: 61.19 kB / 457.2 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2927, allocations: 6.281 kB / 457.2 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.2932, allocations: 83.41 kB / 457.3 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.294, allocations: 220.9 kB / 457.5 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.2952, allocations: 1.584 MB / 459.1 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.2959, allocations: 114 kB / 459.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.296, allocations: 45.55 kB / 459.2 MB, free: 22.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.0004407/0.2965, allocations: 338.2 kB / 459.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2966, allocations: 89.89 kB / 459.6 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.2984, allocations: 1.004 MB / 460.6 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2984, allocations: 9.188 kB / 460.6 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2984, allocations: 3.875 kB / 460.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.2984, allocations: 0 / 460.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.3039, allocations: 2.312 MB / 463 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.3039, allocations: 3.125 kB / 463 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.3043, allocations: 101.8 kB / 463.1 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/0.3051, allocations: 331.4 kB / 463.4 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.3052, allocations: 31.98 kB / 463.4 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3063, allocations: 0.8954 MB / 464.3 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3063, allocations: 0 / 464.3 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.3086, allocations: 1.397 MB / 465.7 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.3089, allocations: 230.5 kB / 465.9 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.309, allocations: 17.22 kB / 466 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.3096, allocations: 54.11 kB / 466 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.3097, allocations: 43.95 kB / 466 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.3097, allocations: 28.88 kB / 466.1 MB, free: 18.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004902/0.3102, allocations: 457.7 kB / 466.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3102, allocations: 0 / 466.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009291/0.3112, allocations: 327.1 kB / 466.8 MB, free: 18.32 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.001239/0.3124, allocations: 0.6598 MB / 467.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.3143, allocations: 1.016 MB / 468.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3143, allocations: 0 / 468.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.3151, allocations: 0.4965 MB / 469 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/0.3159, allocations: 146.9 kB / 469.2 MB, free: 17.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.3192, allocations: 2.214 MB / 471.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.3198, allocations: 1.017 MB / 472.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005995/0.3204, allocations: 130.3 kB / 472.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.3206, allocations: 79.17 kB / 472.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3207, allocations: 0 / 472.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Templates: time 0.0238/0.3445, allocations: 12.08 MB / 484.7 MB, free: 13.53 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 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)