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.0449/0.0449, allocations: 5.394 MB / 20.89 MB, free: 1.789 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.001279/0.001279, allocations: 108.1 kB / 22.89 MB, free: 100 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.001612/0.001612, allocations: 193.4 kB / 25.01 MB, free: 1.477 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.338/1.338, allocations: 222.9 MB / 249.9 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008985/0.008985, allocations: 2.32 MB / 303.5 MB, free: 3.93 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 99.84 kB / 367.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.0903, allocations: 51.21 MB / 418.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.008089/0.09843, allocations: 6.841 MB / 425.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1594/0.2579, allocations: 3.927 MB / 429.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.2587, allocations: 20.94 kB / 429.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.2616, allocations: 1.15 MB / 430.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.2635, allocations: 0.8584 MB / 431.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.2651, allocations: 0.5467 MB / 431.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2664, allocations: 1.398 MB / 433.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.2677, allocations: 1.033 MB / 434.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.2684, allocations: 0.5505 MB / 434.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.2692, allocations: 0.6838 MB / 435.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.2695, allocations: 144.8 kB / 435.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008313/0.2703, allocations: 445.1 kB / 436 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.2705, allocations: 308.9 kB / 436.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005722/0.2711, allocations: 0.6401 MB / 436.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.2727, allocations: 1.765 MB / 438.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2727, allocations: 0 / 438.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2727, allocations: 0 / 438.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.2728, allocations: 3.422 kB / 438.7 MB, free: 34.68 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.003716/0.2765, allocations: 1.817 MB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2765, allocations: 9.844 kB / 440.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.2785, allocations: 372.7 kB / 440.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.28, allocations: 0.8238 MB / 441.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.2801, allocations: 81.89 kB / 441.8 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2802, allocations: 112.3 kB / 441.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.2819, allocations: 1.172 MB / 443 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.282, allocations: 0 / 443 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.2821, allocations: 44.69 kB / 443.1 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2821, allocations: 25.34 kB / 443.1 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2839, allocations: 1.069 MB / 444.2 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.2887, allocations: 4.376 MB / 448.6 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.2908, allocations: 1.754 MB / 450.3 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.2914, allocations: 323 kB / 450.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/0.2915, allocations: 103.3 kB / 450.7 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.2922, allocations: 457.5 kB / 451.2 MB, free: 27.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.2922, allocations: 4 kB / 451.2 MB, free: 27.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005416/0.2976, allocations: 1.593 MB / 452.8 MB, free: 27.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.2977, allocations: 233.8 kB / 453 MB, free: 26.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.2984, allocations: 0.6398 MB / 453.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.2985, allocations: 47.45 kB / 453.7 MB, free: 26.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2987, allocations: 0.5224 MB / 454.2 MB, free: 26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2988, allocations: 230.1 kB / 454.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.2991, allocations: 186 kB / 454.6 MB, free: 25.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.2991, allocations: 392.9 kB / 455 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.2997, allocations: 296.1 kB / 455.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.3004, allocations: 0.5396 MB / 455.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3016, allocations: 0.9406 MB / 456.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3017, allocations: 0 / 456.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002043/0.3037, allocations: 1.111 MB / 457.9 MB, free: 23.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3038, allocations: 65.31 kB / 457.9 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3038, allocations: 6.625 kB / 457.9 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.3042, allocations: 90.67 kB / 458 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.305, allocations: 217.8 kB / 458.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3062, allocations: 1.579 MB / 459.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.307, allocations: 114.2 kB / 459.9 MB, free: 22.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.3071, allocations: 45.11 kB / 460 MB, free: 22.02 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.0004291/0.3075, allocations: 343.7 kB / 460.3 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3077, allocations: 83.28 kB / 460.4 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.3095, allocations: 1.004 MB / 461.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3095, allocations: 10.09 kB / 461.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3096, allocations: 3.75 kB / 461.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3096, allocations: 3.422 kB / 461.4 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005566/0.3151, allocations: 2.314 MB / 463.7 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3152, allocations: 0 / 463.7 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.3155, allocations: 106.5 kB / 463.8 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007304/0.3163, allocations: 332.7 kB / 464.2 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.3163, allocations: 24.41 kB / 464.2 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3175, allocations: 0.8922 MB / 465.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3175, allocations: 0.5625 kB / 465.1 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.3198, allocations: 1.406 MB / 466.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.3201, allocations: 227.6 kB / 466.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.3202, allocations: 27.89 kB / 466.7 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.3208, allocations: 43.23 kB / 466.8 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.3209, allocations: 43 kB / 466.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.3209, allocations: 34.23 kB / 466.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004498/0.3214, allocations: 452 kB / 467.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3214, allocations: 0 / 467.3 MB, free: 18.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.3222, allocations: 326.6 kB / 467.6 MB, free: 18.24 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.001268/0.3235, allocations: 0.6581 MB / 468.3 MB, free: 18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.3254, allocations: 1.009 MB / 469.3 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3254, allocations: 5.156 kB / 469.3 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.3262, allocations: 0.4941 MB / 469.8 MB, free: 17.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.327, allocations: 164.4 kB / 469.9 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.3297, allocations: 1.752 MB / 471.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3301, allocations: 1.021 MB / 472.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004805/0.3306, allocations: 134.4 kB / 472.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3308, allocations: 84.58 kB / 472.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3308, allocations: 1.031 kB / 472.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Templates: time 0.02042/0.3512, allocations: 12.09 MB / 485 MB, free: 13.8 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (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)