Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02562/0.02562, allocations: 5.393 MB / 21.56 MB, free: 1.574 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.001093/0.001093, allocations: 109.1 kB / 23.55 MB, free: 0.832 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.001266/0.001267, allocations: 200.6 kB / 25.68 MB, free: 4.883 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.358/1.358, allocations: 222.9 MB / 250.6 MB, free: 8.543 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009603/0.009603, allocations: 2.313 MB / 304.2 MB, free: 6.598 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 103.8 kB / 367.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2099, allocations: 51.2 MB / 419 MB, free: 26.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006181/0.2161, allocations: 6.889 MB / 425.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.2211, allocations: 4.017 MB / 429.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006436/0.2218, allocations: 23.94 kB / 430 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.2242, allocations: 1.169 MB / 431.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.226, allocations: 0.8701 MB / 432 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2276, allocations: 0.6238 MB / 432.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.2289, allocations: 1.394 MB / 434 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.2301, allocations: 1.017 MB / 435 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.2308, allocations: 0.5681 MB / 435.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009766/0.2318, allocations: 0.6847 MB / 436.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.232, allocations: 140 kB / 436.4 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.2328, allocations: 431.6 kB / 436.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.233, allocations: 298.9 kB / 437.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.2335, allocations: 0.6258 MB / 437.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.235, allocations: 1.745 MB / 439.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.235, allocations: 4 kB / 439.5 MB, free: 5.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.235, allocations: 4 kB / 439.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.235, allocations: 0 / 439.5 MB, free: 5.898 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003524/0.2386, allocations: 1.794 MB / 441.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2386, allocations: 8.031 kB / 441.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.2406, allocations: 375.1 kB / 441.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.2421, allocations: 0.801 MB / 442.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.2422, allocations: 78 kB / 442.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2424, allocations: 107.9 kB / 442.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.244, allocations: 1.134 MB / 443.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.2441, allocations: 3.938 kB / 443.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.2442, allocations: 51.98 kB / 443.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.2442, allocations: 24 kB / 443.9 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.2459, allocations: 0.9486 MB / 444.8 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.252, allocations: 4.338 MB / 449.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.2546, allocations: 1.669 MB / 450.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.2553, allocations: 320.5 kB / 451.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.2554, allocations: 93.52 kB / 451.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008637/0.2563, allocations: 462.6 kB / 451.7 MB, free: 9.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.2563, allocations: 0 / 451.7 MB, free: 9.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005929/0.2622, allocations: 1.545 MB / 453.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.2624, allocations: 277.6 kB / 453.5 MB, free: 7.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.2633, allocations: 0.6603 MB / 454.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.2633, allocations: 45.69 kB / 454.2 MB, free: 6.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.2638, allocations: 0.5179 MB / 454.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.2639, allocations: 213.1 kB / 454.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.2642, allocations: 186.4 kB / 455.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2644, allocations: 386.8 kB / 455.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.265, allocations: 281.8 kB / 455.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.2659, allocations: 0.5365 MB / 456.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.2674, allocations: 0.9177 MB / 457.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.2674, allocations: 3.938 kB / 457.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002274/0.2697, allocations: 1.071 MB / 458.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.2698, allocations: 67.39 kB / 458.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.2698, allocations: 4 kB / 458.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/0.2703, allocations: 84.78 kB / 458.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.2712, allocations: 215.9 kB / 458.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.2727, allocations: 1.597 MB / 460.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.2736, allocations: 107.1 kB / 460.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.2737, allocations: 43.98 kB / 460.4 MB, free: 15.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.0004822/0.2741, allocations: 343.5 kB / 460.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.2743, allocations: 83.05 kB / 460.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2763, allocations: 0.9205 MB / 461.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2763, allocations: 8 kB / 461.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2763, allocations: 0 / 461.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2764, allocations: 3.984 kB / 461.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.2824, allocations: 2.202 MB / 464 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2824, allocations: 3.938 kB / 464 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.2828, allocations: 91.83 kB / 464.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.2836, allocations: 330.3 kB / 464.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.2837, allocations: 27.97 kB / 464.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.285, allocations: 0.8857 MB / 465.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2851, allocations: 4.031 kB / 465.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.2904, allocations: 1.634 MB / 466.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.2908, allocations: 215.9 kB / 467.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.291, allocations: 24 kB / 467.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.2916, allocations: 55.94 kB / 467.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2917, allocations: 32.39 kB / 467.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.2917, allocations: 32.03 kB / 467.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.2923, allocations: 467 kB / 467.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2924, allocations: 0 / 467.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009763/0.2933, allocations: 315 kB / 468.1 MB, free: 7.918 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001433/0.2948, allocations: 0.667 MB / 468.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.2969, allocations: 0.9875 MB / 469.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2969, allocations: 4.062 kB / 469.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.2978, allocations: 489.1 kB / 470.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.2987, allocations: 171.8 kB / 470.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.3018, allocations: 1.766 MB / 472.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.3024, allocations: 1.014 MB / 473.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.3026, allocations: 75.41 kB / 473.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3026, allocations: 0 / 473.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of Templates: time 0.02123/0.3239, allocations: 17.27 MB / 490.5 MB, free: 1.629 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)