Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02567/0.02567, allocations: 5.388 MB / 21.56 MB, free: 1.176 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: 107.8 kB / 23.55 MB, free: 0.8828 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.001267/0.001267, allocations: 204.2 kB / 25.68 MB, free: 4.785 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.345/1.345, allocations: 222.9 MB / 250.5 MB, free: 8.527 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00964/0.00964, allocations: 2.323 MB / 304.2 MB, free: 6.566 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 91.86 kB / 367.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 51.2 MB / 419 MB, free: 26.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006131/0.2014, allocations: 6.895 MB / 425.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.2062, allocations: 4.017 MB / 429.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.2068, allocations: 23.94 kB / 430 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.2092, allocations: 1.165 MB / 431.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.2109, allocations: 0.8817 MB / 432 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.2127, allocations: 0.6162 MB / 432.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.2141, allocations: 1.394 MB / 434 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.2154, allocations: 1.017 MB / 435 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.216, allocations: 0.5681 MB / 435.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.2169, allocations: 0.6871 MB / 436.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.2171, allocations: 140 kB / 436.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008275/0.218, allocations: 431.6 kB / 436.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2182, allocations: 302.9 kB / 437.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.2187, allocations: 0.6219 MB / 437.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.22, allocations: 1.737 MB / 439.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2201, allocations: 8 kB / 439.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2201, allocations: 0 / 439.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.2201, allocations: 0 / 439.5 MB, free: 6.023 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.003393/0.2235, allocations: 1.794 MB / 441.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2236, allocations: 8.031 kB / 441.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.2256, allocations: 379.1 kB / 441.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.2271, allocations: 0.801 MB / 442.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.2271, allocations: 78 kB / 442.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2273, allocations: 103.9 kB / 442.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.2289, allocations: 1.142 MB / 443.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.229, allocations: 0 / 443.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.2291, allocations: 40 kB / 443.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2291, allocations: 31.98 kB / 443.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.2307, allocations: 0.9486 MB / 444.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.2366, allocations: 4.341 MB / 449.2 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2393, allocations: 1.67 MB / 450.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.24, allocations: 316 kB / 451.2 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.633e-05/0.2401, allocations: 93.53 kB / 451.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/0.2409, allocations: 462.5 kB / 451.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.585e-06/0.2409, allocations: 0 / 451.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005866/0.2468, allocations: 1.548 MB / 453.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.247, allocations: 277.5 kB / 453.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.2478, allocations: 0.6604 MB / 454.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.2479, allocations: 45.7 kB / 454.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.2482, allocations: 0.5217 MB / 454.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2484, allocations: 209.1 kB / 454.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.2487, allocations: 186.4 kB / 455.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2489, allocations: 390.8 kB / 455.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.2495, allocations: 281.8 kB / 455.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.2504, allocations: 0.5365 MB / 456.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2519, allocations: 0.9138 MB / 457.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.2519, allocations: 3.938 kB / 457.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002279/0.2542, allocations: 1.071 MB / 458.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.2542, allocations: 71.67 kB / 458.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2543, allocations: 12 kB / 458.4 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.2548, allocations: 80.78 kB / 458.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.2556, allocations: 223.6 kB / 458.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.2572, allocations: 1.581 MB / 460.3 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.258, allocations: 107.6 kB / 460.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.2581, allocations: 47.92 kB / 460.4 MB, free: 15.9 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.0004593/0.2586, allocations: 335.6 kB / 460.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.2587, allocations: 83 kB / 460.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.2608, allocations: 0.9245 MB / 461.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-06/0.2608, allocations: 8 kB / 461.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2608, allocations: 0 / 461.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2608, allocations: 3.984 kB / 461.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006066/0.2669, allocations: 2.206 MB / 464 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2669, allocations: 0 / 464 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.2673, allocations: 87.89 kB / 464.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008573/0.2682, allocations: 330.2 kB / 464.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.2682, allocations: 27.97 kB / 464.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.2695, allocations: 0.8818 MB / 465.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/0.2696, allocations: 8.094 kB / 465.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.2749, allocations: 1.634 MB / 466.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.2753, allocations: 219.9 kB / 467.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.2755, allocations: 20 kB / 467.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.2761, allocations: 51.89 kB / 467.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2762, allocations: 48.41 kB / 467.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.2763, allocations: 31.97 kB / 467.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006246/0.2769, allocations: 463 kB / 467.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2769, allocations: 0 / 467.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009996/0.2779, allocations: 319 kB / 468.1 MB, free: 8.027 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.001446/0.2794, allocations: 0.6519 MB / 468.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.2816, allocations: 0.9874 MB / 469.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.2816, allocations: 0 / 469.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.2825, allocations: 497.5 kB / 470.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.2834, allocations: 183.5 kB / 470.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.2867, allocations: 1.754 MB / 472.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.2873, allocations: 1.01 MB / 473.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.2875, allocations: 87.39 kB / 473.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2876, allocations: 0 / 473.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Templates: time 0.02275/0.3103, allocations: 17.27 MB / 490.5 MB, free: 1.746 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)