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.03145/0.03145, allocations: 5.381 MB / 20.34 MB, free: 1.441 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.0008305/0.0008306, allocations: 112.3 kB / 22.33 MB, free: 200 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.001168/0.001168, allocations: 174.8 kB / 24.39 MB, free: 1.809 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.226/1.226, allocations: 223.2 MB / 249.5 MB, free: 6.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008506/0.008506, allocations: 2.314 MB / 304.1 MB, free: 6.25 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 12 kB / 368.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 52.19 MB / 420.3 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005336/0.2339, allocations: 5.64 MB / 426 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.2392, allocations: 3.63 MB / 429.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.24, allocations: 19.94 kB / 429.6 MB, free: 16.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009542/0.241, allocations: 366.1 kB / 430 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.2425, allocations: 0.7428 MB / 430.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2435, allocations: 429.5 kB / 431.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009807/0.2445, allocations: 0.8737 MB / 432 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.2461, allocations: 1.237 MB / 433.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.2466, allocations: 442.3 kB / 433.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.2471, allocations: 0.5252 MB / 434.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.2472, allocations: 60 kB / 434.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.2478, allocations: 291.6 kB / 434.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2479, allocations: 211.1 kB / 434.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.2481, allocations: 233.1 kB / 435 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009051/0.249, allocations: 1.329 MB / 436.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.249, allocations: 7.938 kB / 436.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.249, allocations: 0 / 436.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.2491, allocations: 0 / 436.3 MB, free: 9.719 MB / 302.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.00319/0.2523, allocations: 1.584 MB / 437.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2523, allocations: 16.02 kB / 437.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.2542, allocations: 374.1 kB / 438.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.2558, allocations: 0.8043 MB / 439.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.2559, allocations: 82.08 kB / 439.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.256, allocations: 108 kB / 439.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.2577, allocations: 1.169 MB / 440.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.2578, allocations: 0 / 440.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.2579, allocations: 44 kB / 440.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.2579, allocations: 31.94 kB / 440.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.2597, allocations: 1.066 MB / 441.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.2649, allocations: 4.388 MB / 446 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2675, allocations: 1.759 MB / 447.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2676, allocations: 105.6 kB / 447.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.2685, allocations: 461.8 kB / 448.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.124e-06/0.2685, allocations: 0 / 448.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005627/0.2741, allocations: 1.708 MB / 450 MB, free: 11.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.2743, allocations: 226.1 kB / 450.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.2751, allocations: 0.6408 MB / 450.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.2751, allocations: 45.72 kB / 450.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.2755, allocations: 0.5218 MB / 451.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.2757, allocations: 228.9 kB / 451.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.2758, allocations: 20 kB / 451.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2759, allocations: 390.7 kB / 452 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/0.2766, allocations: 305.8 kB / 452.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.2773, allocations: 0.5269 MB / 452.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.2781, allocations: 418.5 kB / 453.3 MB, free: 7.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2781, allocations: 4 kB / 453.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002097/0.2802, allocations: 1.114 MB / 454.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.2802, allocations: 69.42 kB / 454.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2803, allocations: 4 kB / 454.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.2807, allocations: 88.78 kB / 454.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.2816, allocations: 227.8 kB / 454.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.2831, allocations: 1.471 MB / 456.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.2839, allocations: 119.2 kB / 456.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.284, allocations: 51.97 kB / 456.4 MB, free: 4.543 MB / 318.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.0006472/0.2846, allocations: 343.1 kB / 456.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.2848, allocations: 82.97 kB / 456.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.287, allocations: 1.011 MB / 457.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2871, allocations: 8 kB / 457.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2871, allocations: 3.953 kB / 457.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.2871, allocations: 0 / 457.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.2935, allocations: 2.345 MB / 460.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2935, allocations: 0 / 460.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.2939, allocations: 95.92 kB / 460.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008493/0.2948, allocations: 342.2 kB / 460.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.2949, allocations: 27.97 kB / 460.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.2962, allocations: 0.9091 MB / 461.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2962, allocations: 0 / 461.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.2989, allocations: 1.435 MB / 463 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.2994, allocations: 232 kB / 463.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.2996, allocations: 19.94 kB / 463.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.3002, allocations: 59.95 kB / 463.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.3003, allocations: 40.52 kB / 463.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.3004, allocations: 31.92 kB / 463.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005933/0.301, allocations: 455 kB / 463.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.301, allocations: 0 / 463.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001093/0.3021, allocations: 319 kB / 464.1 MB, free: 12.6 MB / 334.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.001534/0.3036, allocations: 0.6667 MB / 464.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.3056, allocations: 0.9956 MB / 465.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3056, allocations: 0 / 465.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.3064, allocations: 0.4946 MB / 466.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.3072, allocations: 126.9 kB / 466.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.3106, allocations: 2.156 MB / 468.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.3113, allocations: 1.038 MB / 469.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005346/0.3118, allocations: 126.4 kB / 469.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.312, allocations: 79.41 kB / 469.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3121, allocations: 0 / 469.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of Templates: time 0.0206/0.3327, allocations: 11.17 MB / 481 MB, free: 11.95 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: