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.02838/0.02838, allocations: 5.38 MB / 20.36 MB, free: 2.23 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.0006451/0.0006451, allocations: 101.5 kB / 22.34 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.0008988/0.0008989, allocations: 177.1 kB / 24.41 MB, free: 1.98 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.352/1.352, allocations: 223.3 MB / 249.6 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008874/0.008873, allocations: 2.314 MB / 304.2 MB, free: 3.234 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 20 kB / 368.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 52.2 MB / 420.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007238/0.1207, allocations: 5.954 MB / 426.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2378/0.3585, allocations: 3.618 MB / 430 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3598, allocations: 21.09 kB / 430 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.3613, allocations: 397.4 kB / 430.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.3633, allocations: 0.6889 MB / 431.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3645, allocations: 421.9 kB / 431.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.366, allocations: 1.237 MB / 432.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.3683, allocations: 1.24 MB / 434 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.3691, allocations: 448.8 kB / 434.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.3698, allocations: 0.5592 MB / 435 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.37, allocations: 59.47 kB / 435.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/0.3709, allocations: 330.3 kB / 435.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3712, allocations: 214.1 kB / 435.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.3715, allocations: 230.8 kB / 435.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.3729, allocations: 1.335 MB / 437.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3729, allocations: 0 / 437.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3729, allocations: 0 / 437.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.373, allocations: 0 / 437.2 MB, free: 34.15 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.003486/0.3764, allocations: 1.586 MB / 438.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.3765, allocations: 9.656 kB / 438.7 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.3786, allocations: 383.8 kB / 439.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.3803, allocations: 0.8021 MB / 439.9 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.3804, allocations: 79.75 kB / 440 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3805, allocations: 115.8 kB / 440.1 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3825, allocations: 1.167 MB / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3825, allocations: 0 / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.3826, allocations: 47.91 kB / 441.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3826, allocations: 29.31 kB / 441.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.3845, allocations: 1.066 MB / 442.4 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/0.3902, allocations: 4.395 MB / 446.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.3923, allocations: 1.739 MB / 448.6 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.3929, allocations: 330.7 kB / 448.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-05/0.393, allocations: 100.2 kB / 449 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.3938, allocations: 469.8 kB / 449.4 MB, free: 29.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/0.3938, allocations: 0.6562 kB / 449.4 MB, free: 29.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005196/0.399, allocations: 1.63 MB / 451.1 MB, free: 28.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.3991, allocations: 229.4 kB / 451.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.3999, allocations: 0.6434 MB / 451.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.4, allocations: 43.83 kB / 452 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.4004, allocations: 0.5152 MB / 452.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.4006, allocations: 232.5 kB / 452.7 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.4006, allocations: 23.25 kB / 452.7 MB, free: 27.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4008, allocations: 394.8 kB / 453.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.4013, allocations: 302.6 kB / 453.4 MB, free: 26.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.402, allocations: 0.5368 MB / 454 MB, free: 26.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.4027, allocations: 420.1 kB / 454.4 MB, free: 26.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4027, allocations: 7.219 kB / 454.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001991/0.4047, allocations: 1.107 MB / 455.5 MB, free: 25.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.4047, allocations: 60.81 kB / 455.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4047, allocations: 5.969 kB / 455.6 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.4052, allocations: 94.34 kB / 455.6 MB, free: 25.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.406, allocations: 224.5 kB / 455.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4075, allocations: 1.475 MB / 457.3 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.4083, allocations: 114.3 kB / 457.4 MB, free: 24.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.4084, allocations: 46.19 kB / 457.5 MB, free: 24.23 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005704/0.409, allocations: 336.7 kB / 457.8 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4091, allocations: 80.19 kB / 457.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.411, allocations: 1.017 MB / 458.9 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.411, allocations: 6.156 kB / 458.9 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.411, allocations: 7.016 kB / 458.9 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.411, allocations: 3.469 kB / 458.9 MB, free: 23.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/0.4163, allocations: 2.341 MB / 461.3 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4164, allocations: 3.938 kB / 461.3 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.4167, allocations: 95.17 kB / 461.4 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007423/0.4175, allocations: 336.8 kB / 461.7 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.4175, allocations: 31.98 kB / 461.7 MB, free: 22.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4187, allocations: 0.9032 MB / 462.6 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4187, allocations: 0 / 462.6 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.4211, allocations: 1.416 MB / 464.1 MB, free: 20.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.4214, allocations: 229.8 kB / 464.3 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.4216, allocations: 24.28 kB / 464.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.4222, allocations: 53.78 kB / 464.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4223, allocations: 44.11 kB / 464.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.4223, allocations: 32.98 kB / 464.4 MB, free: 20.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006164/0.423, allocations: 446.7 kB / 464.9 MB, free: 20.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.423, allocations: 4 kB / 464.9 MB, free: 20.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4241, allocations: 325.3 kB / 465.2 MB, free: 20.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.4257, allocations: 0.6623 MB / 465.8 MB, free: 20.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.4274, allocations: 0.9942 MB / 466.8 MB, free: 19.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4274, allocations: 1.375 kB / 466.8 MB, free: 19.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.4282, allocations: 0.4991 MB / 467.3 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.4291, allocations: 149.8 kB / 467.5 MB, free: 19.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.4322, allocations: 2.164 MB / 469.7 MB, free: 18.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4327, allocations: 1.02 MB / 470.7 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005028/0.4332, allocations: 129.1 kB / 470.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.4334, allocations: 84.17 kB / 470.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4335, allocations: 0 / 470.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of Templates: time 0.02906/0.4625, allocations: 11.17 MB / 482 MB, free: 16.18 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: