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.02871/0.02871, allocations: 5.39 MB / 20.36 MB, free: 2.254 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.0006633/0.0006633, allocations: 101.5 kB / 22.33 MB, free: 0.7812 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.0008585/0.0008586, allocations: 178.7 kB / 24.41 MB, free: 1.777 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.327/1.327, allocations: 223.3 MB / 249.6 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008394/0.008394, allocations: 2.311 MB / 304.2 MB, free: 3.992 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 12 kB / 368.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 52.21 MB / 420.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006943/0.1169, allocations: 5.95 MB / 426.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1732/0.2902, allocations: 3.621 MB / 430 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007265/0.2909, allocations: 24.03 kB / 430 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2919, allocations: 392.3 kB / 430.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.2935, allocations: 0.6962 MB / 431.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2946, allocations: 408.1 kB / 431.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.2956, allocations: 1.241 MB / 432.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2974, allocations: 1.247 MB / 434 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.2979, allocations: 445 kB / 434.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.2986, allocations: 0.5591 MB / 435 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.2987, allocations: 59.47 kB / 435.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.2995, allocations: 334.7 kB / 435.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2996, allocations: 215.8 kB / 435.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2998, allocations: 231.6 kB / 435.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.301, allocations: 1.329 MB / 437.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.301, allocations: 0 / 437.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.301, allocations: 0 / 437.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.301, allocations: 3.031 kB / 437.2 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.002991/0.304, allocations: 1.589 MB / 438.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3041, allocations: 10.47 kB / 438.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.306, allocations: 380.9 kB / 439.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.3074, allocations: 0.8007 MB / 439.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.3075, allocations: 79.89 kB / 440 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.3076, allocations: 112 kB / 440.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.3093, allocations: 1.169 MB / 441.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3094, allocations: 0 / 441.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.3095, allocations: 47.38 kB / 441.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.3095, allocations: 26.5 kB / 441.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.3112, allocations: 1.068 MB / 442.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.3161, allocations: 4.398 MB / 446.8 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3181, allocations: 1.746 MB / 448.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.3187, allocations: 332.5 kB / 448.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.3188, allocations: 96.38 kB / 449 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/0.3195, allocations: 467 kB / 449.4 MB, free: 29.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.773e-06/0.3195, allocations: 0 / 449.4 MB, free: 29.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004843/0.3243, allocations: 1.634 MB / 451.1 MB, free: 29.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3244, allocations: 219.2 kB / 451.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.3251, allocations: 0.6493 MB / 451.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.3251, allocations: 40.14 kB / 452 MB, free: 28.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.3254, allocations: 0.5196 MB / 452.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3255, allocations: 237.4 kB / 452.7 MB, free: 27.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.3256, allocations: 18.78 kB / 452.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.3257, allocations: 392 kB / 453.1 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.3262, allocations: 295.5 kB / 453.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.3268, allocations: 0.5402 MB / 454 MB, free: 27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.3274, allocations: 417.3 kB / 454.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3274, allocations: 3.125 kB / 454.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001733/0.3291, allocations: 1.111 MB / 455.5 MB, free: 26.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.3292, allocations: 61.44 kB / 455.5 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3292, allocations: 13.41 kB / 455.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.3296, allocations: 81.36 kB / 455.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.3303, allocations: 230 kB / 455.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.3314, allocations: 1.482 MB / 457.3 MB, free: 24.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/0.332, allocations: 108.3 kB / 457.4 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.3321, allocations: 47.5 kB / 457.5 MB, free: 24.69 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.0003596/0.3324, allocations: 338.7 kB / 457.8 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.3325, allocations: 84.47 kB / 457.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3342, allocations: 1.013 MB / 458.9 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3342, allocations: 5.969 kB / 458.9 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3342, allocations: 10.95 kB / 458.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3343, allocations: 3.422 kB / 458.9 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/0.3393, allocations: 2.335 MB / 461.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3393, allocations: 0 / 461.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3396, allocations: 102.3 kB / 461.4 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000663/0.3403, allocations: 336.6 kB / 461.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.3403, allocations: 24.25 kB / 461.7 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3414, allocations: 0.9104 MB / 462.6 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3414, allocations: 0.9375 kB / 462.6 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3435, allocations: 1.414 MB / 464.1 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3437, allocations: 233.5 kB / 464.3 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3439, allocations: 21.94 kB / 464.3 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.3443, allocations: 54.05 kB / 464.4 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.3444, allocations: 39.69 kB / 464.4 MB, free: 21.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.3445, allocations: 34.17 kB / 464.4 MB, free: 21.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004648/0.345, allocations: 452.5 kB / 464.9 MB, free: 21.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.345, allocations: 0 / 464.9 MB, free: 21.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008715/0.3458, allocations: 327 kB / 465.2 MB, free: 20.92 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.001243/0.3471, allocations: 0.6604 MB / 465.8 MB, free: 20.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.3486, allocations: 0.9951 MB / 466.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3486, allocations: 0 / 466.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.3493, allocations: 0.4889 MB / 467.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.35, allocations: 150.6 kB / 467.5 MB, free: 19.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3525, allocations: 2.162 MB / 469.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3529, allocations: 1.019 MB / 470.7 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000447/0.3533, allocations: 131.9 kB / 470.8 MB, free: 17.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3535, allocations: 77.27 kB / 470.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3535, allocations: 0 / 470.9 MB, free: 17.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01973/0.3733, allocations: 11.18 MB / 482 MB, free: 16.6 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: