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.02855/0.02855, allocations: 5.38 MB / 20.65 MB, free: 1.664 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.0007269/0.0007271, allocations: 91.73 kB / 22.64 MB, free: 436 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.0008466/0.000847, allocations: 185.4 kB / 24.74 MB, free: 1.805 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.3/1.3, allocations: 223.3 MB / 250 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008432/0.008432, allocations: 2.311 MB / 304.6 MB, free: 3.852 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 12 kB / 368.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1125, allocations: 52.22 MB / 421.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.1794/0.292, allocations: 6.323 MB / 427.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.2971, allocations: 3.826 MB / 431.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.2977, allocations: 20.72 kB / 431.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.2988, allocations: 450.2 kB / 431.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3004, allocations: 0.7602 MB / 432.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3018, allocations: 496.5 kB / 433 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.3029, allocations: 1.305 MB / 434.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.305, allocations: 1.414 MB / 435.7 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.3055, allocations: 457.4 kB / 436.1 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.3061, allocations: 0.5853 MB / 436.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3063, allocations: 58.88 kB / 436.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.307, allocations: 345.8 kB / 437.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3071, allocations: 230.7 kB / 437.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.3075, allocations: 0.5638 MB / 437.9 MB, free: 34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.3089, allocations: 1.669 MB / 439.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3089, allocations: 0 / 439.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3089, allocations: 1.594 kB / 439.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3089, allocations: 0 / 439.6 MB, free: 33.74 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.003289/0.3122, allocations: 1.583 MB / 441.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3122, allocations: 9.594 kB / 441.2 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.3143, allocations: 376.2 kB / 441.5 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3158, allocations: 0.8382 MB / 442.4 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.3159, allocations: 77.45 kB / 442.4 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.316, allocations: 107.2 kB / 442.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3178, allocations: 1.178 MB / 443.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.3179, allocations: 8.812 kB / 443.7 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.318, allocations: 46.78 kB / 443.8 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.318, allocations: 26.81 kB / 443.8 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.3199, allocations: 1.076 MB / 444.9 MB, free: 32.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.325, allocations: 4.393 MB / 449.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.3273, allocations: 1.752 MB / 451 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.3278, allocations: 331.2 kB / 451.4 MB, free: 28.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.3279, allocations: 102 kB / 451.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006935/0.3286, allocations: 461.9 kB / 451.9 MB, free: 27.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.285e-06/0.3286, allocations: 0 / 451.9 MB, free: 27.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005368/0.334, allocations: 1.642 MB / 453.5 MB, free: 27.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3341, allocations: 223.5 kB / 453.8 MB, free: 27.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.3348, allocations: 0.6462 MB / 454.4 MB, free: 26.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.3348, allocations: 47.34 kB / 454.5 MB, free: 26.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.3351, allocations: 0.519 MB / 455 MB, free: 26.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.3352, allocations: 233.3 kB / 455.2 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.3353, allocations: 81.45 kB / 455.3 MB, free: 26.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.3354, allocations: 397.1 kB / 455.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.336, allocations: 298 kB / 456 MB, free: 25.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.3366, allocations: 0.5352 MB / 456.5 MB, free: 25.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3378, allocations: 0.9451 MB / 457.4 MB, free: 24.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3378, allocations: 3.125 kB / 457.4 MB, free: 24.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001873/0.3397, allocations: 1.112 MB / 458.6 MB, free: 24.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.3397, allocations: 71.5 kB / 458.6 MB, free: 24.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3398, allocations: 9.438 kB / 458.6 MB, free: 24.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.3402, allocations: 85.56 kB / 458.7 MB, free: 24.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.341, allocations: 232.4 kB / 459 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.3421, allocations: 1.471 MB / 460.4 MB, free: 22.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.3428, allocations: 108.9 kB / 460.5 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.3428, allocations: 47.7 kB / 460.6 MB, free: 22.5 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.0003707/0.3432, allocations: 346 kB / 460.9 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3433, allocations: 88.97 kB / 461 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.3452, allocations: 1.015 MB / 462 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3452, allocations: 6.969 kB / 462 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3452, allocations: 5 kB / 462 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3452, allocations: 6.672 kB / 462 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/0.3508, allocations: 2.34 MB / 464.4 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3508, allocations: 1.125 kB / 464.4 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.3511, allocations: 96.64 kB / 464.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/0.3519, allocations: 341.3 kB / 464.8 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.352, allocations: 30.97 kB / 464.8 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.3531, allocations: 0.9033 MB / 465.7 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3531, allocations: 7.875 kB / 465.7 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.3554, allocations: 1.411 MB / 467.2 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3556, allocations: 232.5 kB / 467.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3558, allocations: 33.62 kB / 467.4 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.3563, allocations: 45.98 kB / 467.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.3564, allocations: 52.97 kB / 467.5 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.3565, allocations: 33.09 kB / 467.5 MB, free: 19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3569, allocations: 451.7 kB / 468 MB, free: 18.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3569, allocations: 0 / 468 MB, free: 18.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.3578, allocations: 325.9 kB / 468.3 MB, free: 18.71 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.001243/0.359, allocations: 0.6539 MB / 469 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.3606, allocations: 1.002 MB / 470 MB, free: 18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3606, allocations: 384 / 470 MB, free: 18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.3613, allocations: 0.4922 MB / 470.4 MB, free: 17.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/0.3622, allocations: 152.4 kB / 470.6 MB, free: 17.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.3649, allocations: 2.29 MB / 472.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3653, allocations: 1.02 MB / 473.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004677/0.3658, allocations: 124.9 kB / 474 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.366, allocations: 77.59 kB / 474.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.366, allocations: 0 / 474.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Templates: time 0.02064/0.3866, allocations: 11.45 MB / 485.6 MB, free: 14.11 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: