Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02922/0.02922, allocations: 5.389 MB / 20.89 MB, free: 1.762 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.0009066/0.0009065, allocations: 104.2 kB / 22.88 MB, free: 96 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.001193/0.001193, allocations: 193.9 kB / 25 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.323/1.323, allocations: 222.9 MB / 249.9 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009055/0.009055, allocations: 2.319 MB / 303.5 MB, free: 3.789 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 99.83 kB / 367.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.08584, allocations: 51.21 MB / 418.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.008127/0.094, allocations: 6.849 MB / 425.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1539/0.2479, allocations: 3.931 MB / 429.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.2487, allocations: 24.47 kB / 429.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.2512, allocations: 1.149 MB / 430.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.253, allocations: 0.8507 MB / 431.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.2547, allocations: 0.5526 MB / 431.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.256, allocations: 1.398 MB / 433.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.2572, allocations: 1.027 MB / 434.1 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.2578, allocations: 0.5534 MB / 434.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.2584, allocations: 0.6869 MB / 435.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.2586, allocations: 140 kB / 435.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.2593, allocations: 436.8 kB / 435.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.2595, allocations: 315 kB / 436.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.26, allocations: 0.6473 MB / 436.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2613, allocations: 1.767 MB / 438.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2613, allocations: 0 / 438.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2613, allocations: 0 / 438.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2613, allocations: 0 / 438.7 MB, free: 34.53 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.003386/0.2647, allocations: 1.811 MB / 440.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2647, allocations: 9.281 kB / 440.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.2667, allocations: 374.4 kB / 440.9 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.2682, allocations: 0.8176 MB / 441.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.2682, allocations: 86.14 kB / 441.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.2684, allocations: 105 kB / 441.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.27, allocations: 1.172 MB / 443 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.27, allocations: 7.328 kB / 443 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.2701, allocations: 45.56 kB / 443.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2701, allocations: 28.03 kB / 443.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.2719, allocations: 1.069 MB / 444.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.2765, allocations: 4.377 MB / 448.6 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.2786, allocations: 1.752 MB / 450.3 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.2792, allocations: 330.3 kB / 450.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.2793, allocations: 96.8 kB / 450.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006775/0.28, allocations: 468.8 kB / 451.2 MB, free: 27.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.134e-06/0.28, allocations: 0 / 451.2 MB, free: 27.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005247/0.2852, allocations: 1.6 MB / 452.8 MB, free: 26.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2853, allocations: 222.8 kB / 453 MB, free: 26.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.2859, allocations: 0.6472 MB / 453.7 MB, free: 26.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.286, allocations: 40.17 kB / 453.7 MB, free: 26.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.2862, allocations: 0.524 MB / 454.2 MB, free: 25.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.2863, allocations: 229.3 kB / 454.4 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.2866, allocations: 187.8 kB / 454.6 MB, free: 25.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.2867, allocations: 389.4 kB / 455 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.2872, allocations: 304.6 kB / 455.3 MB, free: 25.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.2879, allocations: 0.53 MB / 455.8 MB, free: 24.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.289, allocations: 0.9371 MB / 456.8 MB, free: 24.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2891, allocations: 3.125 kB / 456.8 MB, free: 24.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001863/0.2909, allocations: 1.117 MB / 457.9 MB, free: 23.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.291, allocations: 64.2 kB / 457.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.291, allocations: 9.406 kB / 458 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.2914, allocations: 86.94 kB / 458 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/0.2922, allocations: 221.6 kB / 458.3 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.2933, allocations: 1.576 MB / 459.8 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.294, allocations: 116.4 kB / 459.9 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.294, allocations: 45.19 kB / 460 MB, free: 21.85 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.0003358/0.2944, allocations: 343 kB / 460.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2945, allocations: 85.28 kB / 460.4 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.2963, allocations: 1 MB / 461.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2963, allocations: 10.17 kB / 461.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2963, allocations: 0 / 461.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.2963, allocations: 2.906 kB / 461.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/0.3017, allocations: 2.317 MB / 463.7 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3017, allocations: 0 / 463.7 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.302, allocations: 100.6 kB / 463.8 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006956/0.3027, allocations: 329 kB / 464.2 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.3028, allocations: 27.84 kB / 464.2 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.3038, allocations: 0.9027 MB / 465.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3039, allocations: 2.656 kB / 465.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.3061, allocations: 1.403 MB / 466.5 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.3063, allocations: 232.3 kB / 466.7 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3065, allocations: 17.28 kB / 466.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.307, allocations: 49.86 kB / 466.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.3071, allocations: 39.81 kB / 466.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.3071, allocations: 29.2 kB / 466.9 MB, free: 18.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.3076, allocations: 458.2 kB / 467.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3076, allocations: 0 / 467.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007835/0.3084, allocations: 321.5 kB / 467.6 MB, free: 18.07 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.001259/0.3096, allocations: 0.6615 MB / 468.3 MB, free: 17.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3114, allocations: 1.013 MB / 469.3 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3114, allocations: 1.375 kB / 469.3 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.3122, allocations: 0.4983 MB / 469.8 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.3129, allocations: 158.6 kB / 469.9 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.3157, allocations: 1.753 MB / 471.7 MB, free: 16.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3161, allocations: 1.016 MB / 472.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.3166, allocations: 133.7 kB / 472.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.3168, allocations: 78.28 kB / 472.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3168, allocations: 3.938 kB / 472.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Templates: time 0.02147/0.3383, allocations: 12.1 MB / 485 MB, free: 13.63 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)