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.02564/0.02564, allocations: 5.384 MB / 20.51 MB, free: 2.109 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.0008126/0.0008125, allocations: 112.1 kB / 22.5 MB, free: 492 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.0009495/0.0009495, allocations: 190.5 kB / 24.59 MB, free: 0.7188 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.159/1.159, allocations: 222.9 MB / 249.4 MB, free: 8.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008527/0.008527, allocations: 2.312 MB / 303.1 MB, free: 6.773 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 87.88 kB / 366.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1695, allocations: 51.21 MB / 417.6 MB, free: 26.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005382/0.1749, allocations: 6.825 MB / 424.5 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.1786, allocations: 3.893 MB / 428.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.179, allocations: 27.94 kB / 428.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.1808, allocations: 1.085 MB / 429.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.182, allocations: 0.7698 MB / 430.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1831, allocations: 499.2 kB / 430.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.1838, allocations: 1.308 MB / 432 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008731/0.1847, allocations: 0.8513 MB / 432.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.185, allocations: 0.498 MB / 433.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.1855, allocations: 0.6457 MB / 434 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1856, allocations: 84 kB / 434.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.1861, allocations: 379.6 kB / 434.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1863, allocations: 254.9 kB / 434.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1866, allocations: 0.5867 MB / 435.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009533/0.1876, allocations: 1.717 MB / 437 MB, free: 7.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1876, allocations: 4 kB / 437 MB, free: 7.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1876, allocations: 0 / 437 MB, free: 7.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1876, allocations: 0 / 437 MB, free: 7.191 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.00327/0.1909, allocations: 1.806 MB / 438.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.1909, allocations: 8.031 kB / 438.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.1928, allocations: 383.1 kB / 439.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.1943, allocations: 0.8205 MB / 440 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1943, allocations: 78.08 kB / 440.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1944, allocations: 108 kB / 440.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1961, allocations: 1.173 MB / 441.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.1961, allocations: 3.938 kB / 441.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.1962, allocations: 44 kB / 441.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1962, allocations: 28 kB / 441.5 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.198, allocations: 1.07 MB / 442.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/0.2031, allocations: 4.388 MB / 446.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.2055, allocations: 1.742 MB / 448.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/0.2061, allocations: 328.2 kB / 449 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-05/0.2062, allocations: 97.66 kB / 449.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007715/0.207, allocations: 465.7 kB / 449.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/0.207, allocations: 0 / 449.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005871/0.2129, allocations: 1.588 MB / 451.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.213, allocations: 226.1 kB / 451.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.2138, allocations: 0.6564 MB / 452 MB, free: 7.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.2138, allocations: 45.69 kB / 452 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.2142, allocations: 0.5141 MB / 452.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.2144, allocations: 236.7 kB / 452.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.2146, allocations: 182.5 kB / 453 MB, free: 6.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2147, allocations: 390.7 kB / 453.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.2154, allocations: 301.8 kB / 453.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007603/0.2162, allocations: 0.5309 MB / 454.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.2175, allocations: 0.9438 MB / 455.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2176, allocations: 0 / 455.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002104/0.2197, allocations: 1.114 MB / 456.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.2197, allocations: 69.83 kB / 456.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2197, allocations: 11.94 kB / 456.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.2202, allocations: 84.78 kB / 456.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/0.2211, allocations: 227.7 kB / 456.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.2224, allocations: 1.464 MB / 458.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.2231, allocations: 115 kB / 458.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.2231, allocations: 43.98 kB / 458.2 MB, free: 0.8125 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 (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.0004125/0.2236, allocations: 343.2 kB / 458.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2237, allocations: 83 kB / 458.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.2257, allocations: 1.003 MB / 459.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.2257, allocations: 4 kB / 459.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2257, allocations: 7.922 kB / 459.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2257, allocations: 4 kB / 459.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005893/0.2316, allocations: 2.321 MB / 462 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2316, allocations: 0 / 462 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.232, allocations: 95.89 kB / 462.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007907/0.2328, allocations: 330.2 kB / 462.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.2329, allocations: 31.97 kB / 462.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.2341, allocations: 0.8936 MB / 463.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2341, allocations: 3.938 kB / 463.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.2366, allocations: 1.397 MB / 464.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.2369, allocations: 224 kB / 465 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.237, allocations: 23.94 kB / 465 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.2376, allocations: 51.95 kB / 465 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.2377, allocations: 40.5 kB / 465.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.2377, allocations: 27.98 kB / 465.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.2382, allocations: 459 kB / 465.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2382, allocations: 4 kB / 465.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008022/0.2391, allocations: 322.9 kB / 465.9 MB, free: 8.953 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 (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.001223/0.2403, allocations: 0.6542 MB / 466.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.242, allocations: 0.991 MB / 467.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.242, allocations: 0 / 467.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.2428, allocations: 0.4914 MB / 468 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.2435, allocations: 145.9 kB / 468.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.2465, allocations: 2.208 MB / 470.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.247, allocations: 1.018 MB / 471.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.2474, allocations: 130.4 kB / 471.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.2476, allocations: 83.39 kB / 471.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2476, allocations: 0 / 471.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Templates: time 0.0169/0.2645, allocations: 11.55 MB / 483.1 MB, free: 7.887 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (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)