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.02794/0.02794, allocations: 5.397 MB / 21.65 MB, free: 1.074 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.0009921/0.0009922, allocations: 109.8 kB / 23.65 MB, free: 0.7852 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.001029/0.001029, allocations: 203.1 kB / 25.78 MB, free: 4.527 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 250.6 MB, free: 8.453 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009107/0.009107, allocations: 2.316 MB / 304.3 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 91.86 kB / 368.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1857, allocations: 51.21 MB / 419.8 MB, free: 26.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005602/0.1913, allocations: 6.856 MB / 426.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.1955, allocations: 3.935 MB / 430.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.1959, allocations: 23.94 kB / 430.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.1979, allocations: 1.158 MB / 431.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1991, allocations: 0.8538 MB / 432.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2003, allocations: 0.5547 MB / 433.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.2012, allocations: 1.402 MB / 434.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/0.2021, allocations: 1.02 MB / 435.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.2026, allocations: 0.5565 MB / 436.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.2031, allocations: 0.6886 MB / 436.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.2032, allocations: 144 kB / 437 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.2038, allocations: 435.7 kB / 437.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.204, allocations: 314.8 kB / 437.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.2043, allocations: 0.6375 MB / 438.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2054, allocations: 1.795 MB / 440.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2054, allocations: 4 kB / 440.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2055, allocations: 4 kB / 440.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2055, allocations: 0 / 440.2 MB, free: 5.809 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.003219/0.2087, allocations: 1.806 MB / 442 MB, free: 3.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2087, allocations: 12.03 kB / 442 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.2106, allocations: 379.1 kB / 442.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.2121, allocations: 0.8321 MB / 443.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.2121, allocations: 78.08 kB / 443.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2123, allocations: 111.9 kB / 443.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2139, allocations: 1.165 MB / 444.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.2139, allocations: 4 kB / 444.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.214, allocations: 51.98 kB / 444.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.214, allocations: 28 kB / 444.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.2157, allocations: 1.062 MB / 445.7 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/0.2214, allocations: 4.349 MB / 450 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.2238, allocations: 1.74 MB / 451.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/0.2244, allocations: 327.8 kB / 452.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.2246, allocations: 97.66 kB / 452.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/0.2253, allocations: 465.6 kB / 452.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.485e-06/0.2253, allocations: 0 / 452.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005493/0.2308, allocations: 1.592 MB / 454.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.231, allocations: 226.2 kB / 454.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.2317, allocations: 0.6485 MB / 455.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.2318, allocations: 45.7 kB / 455.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.2321, allocations: 0.5219 MB / 455.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.2323, allocations: 228.8 kB / 455.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.2326, allocations: 182.5 kB / 456.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2327, allocations: 390.7 kB / 456.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.2333, allocations: 297.8 kB / 456.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.2341, allocations: 0.5387 MB / 457.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2355, allocations: 0.936 MB / 458.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2355, allocations: 0 / 458.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002069/0.2376, allocations: 1.117 MB / 459.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.2376, allocations: 59.41 kB / 459.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2377, allocations: 8 kB / 459.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.2381, allocations: 89 kB / 459.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.2389, allocations: 231.6 kB / 459.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2404, allocations: 1.574 MB / 461.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.2411, allocations: 111.2 kB / 461.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.2411, allocations: 43.92 kB / 461.4 MB, free: 15.36 MB / 334.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.0004046/0.2415, allocations: 347.1 kB / 461.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2417, allocations: 79.06 kB / 461.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.2436, allocations: 1.01 MB / 462.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.2437, allocations: 4 kB / 462.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2437, allocations: 8 kB / 462.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2437, allocations: 3.984 kB / 462.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.2495, allocations: 2.294 MB / 465.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.2495, allocations: 7.984 kB / 465.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.2499, allocations: 99.83 kB / 465.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007881/0.2507, allocations: 326.3 kB / 465.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.2507, allocations: 27.97 kB / 465.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.252, allocations: 0.9012 MB / 466.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.252, allocations: 4.031 kB / 466.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.2545, allocations: 1.402 MB / 467.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.2548, allocations: 227.9 kB / 468.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.255, allocations: 27.94 kB / 468.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.2555, allocations: 47.95 kB / 468.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.2556, allocations: 36.52 kB / 468.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.2557, allocations: 35.97 kB / 468.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000509/0.2562, allocations: 455 kB / 468.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2562, allocations: 4 kB / 468.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.2571, allocations: 319 kB / 469.1 MB, free: 7.504 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.001311/0.2584, allocations: 0.6641 MB / 469.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.2601, allocations: 0.9949 MB / 470.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2601, allocations: 0 / 470.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.2609, allocations: 0.4914 MB / 471.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.2616, allocations: 149.4 kB / 471.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2644, allocations: 1.74 MB / 473.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.265, allocations: 1.014 MB / 474.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.2654, allocations: 138.4 kB / 474.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2656, allocations: 83.39 kB / 474.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2656, allocations: 4 kB / 474.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01934/0.285, allocations: 12.04 MB / 486.4 MB, free: 6.391 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 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)