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.03102/0.03102, allocations: 5.391 MB / 20.89 MB, free: 1.406 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.006919/0.006919, allocations: 94.78 kB / 22.88 MB, free: 0.7969 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.001189/0.001189, allocations: 192.5 kB / 25 MB, free: 268 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 249.9 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.008956/0.008956, allocations: 2.321 MB / 303.5 MB, free: 6.539 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001796, allocations: 95.84 kB / 367.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2133, allocations: 51.21 MB / 418.4 MB, free: 26.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006305/0.2197, allocations: 6.883 MB / 425.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.2264, allocations: 4.009 MB / 429.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2274, allocations: 23.94 kB / 429.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.2303, allocations: 1.177 MB / 430.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.2323, allocations: 0.874 MB / 431.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.234, allocations: 0.6284 MB / 432 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2354, allocations: 1.394 MB / 433.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.2367, allocations: 1.013 MB / 434.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007905/0.2375, allocations: 0.5642 MB / 434.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.2386, allocations: 0.6847 MB / 435.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.2388, allocations: 140 kB / 435.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.24, allocations: 435.6 kB / 436.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.2403, allocations: 298.9 kB / 436.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006468/0.2409, allocations: 0.6336 MB / 437.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.2428, allocations: 1.737 MB / 438.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2429, allocations: 0 / 438.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2429, allocations: 0 / 438.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.2429, allocations: 0 / 438.8 MB, free: 5.832 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.003904/0.2468, allocations: 1.801 MB / 440.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2468, allocations: 12.03 kB / 440.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.2489, allocations: 383.1 kB / 441 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.2506, allocations: 0.7932 MB / 441.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.2506, allocations: 78 kB / 441.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2508, allocations: 107.9 kB / 442 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.2526, allocations: 1.134 MB / 443.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.2526, allocations: 3.938 kB / 443.1 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.2527, allocations: 44 kB / 443.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.2527, allocations: 24 kB / 443.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.2544, allocations: 0.9447 MB / 444.2 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006093/0.2605, allocations: 4.342 MB / 448.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.2632, allocations: 1.666 MB / 450.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.2639, allocations: 320.5 kB / 450.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.264, allocations: 97.52 kB / 450.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/0.2649, allocations: 466.6 kB / 451 MB, free: 8.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.695e-06/0.2649, allocations: 0 / 451 MB, free: 8.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.006053/0.271, allocations: 1.537 MB / 452.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.2711, allocations: 277.6 kB / 452.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2722, allocations: 0.672 MB / 453.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.2723, allocations: 37.7 kB / 453.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.2727, allocations: 0.5101 MB / 454.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2729, allocations: 221.1 kB / 454.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.2732, allocations: 182.4 kB / 454.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2733, allocations: 386.8 kB / 454.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.274, allocations: 281.8 kB / 455.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.2748, allocations: 0.5365 MB / 455.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.2763, allocations: 0.9216 MB / 456.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.2763, allocations: 11.88 kB / 456.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002296/0.2786, allocations: 1.071 MB / 457.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.2787, allocations: 62.22 kB / 457.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.2787, allocations: 8 kB / 457.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.2792, allocations: 89.06 kB / 457.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.2801, allocations: 215.7 kB / 458 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.2819, allocations: 1.581 MB / 459.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.2828, allocations: 111.5 kB / 459.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.2829, allocations: 43.98 kB / 459.7 MB, free: 15.72 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.0005457/0.2835, allocations: 343.5 kB / 460.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.2837, allocations: 87 kB / 460.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.2858, allocations: 0.9206 MB / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2858, allocations: 4 kB / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2858, allocations: 0 / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2858, allocations: 7.984 kB / 461.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.2922, allocations: 2.198 MB / 463.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.2922, allocations: 11.92 kB / 463.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.2926, allocations: 91.86 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/0.2934, allocations: 330.3 kB / 463.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.2935, allocations: 19.98 kB / 463.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.2949, allocations: 0.8936 MB / 464.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2949, allocations: 0 / 464.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/0.3003, allocations: 1.63 MB / 466.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.3007, allocations: 219.9 kB / 466.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.3009, allocations: 16 kB / 466.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.3016, allocations: 51.95 kB / 466.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3017, allocations: 40.39 kB / 466.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.3017, allocations: 31.97 kB / 466.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006711/0.3024, allocations: 463 kB / 467.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3024, allocations: 4 kB / 467.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001085/0.3035, allocations: 315 kB / 467.4 MB, free: 7.852 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.001551/0.3051, allocations: 0.6618 MB / 468 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.3076, allocations: 0.994 MB / 469 MB, free: 6.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.3076, allocations: 5.438 kB / 469 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3086, allocations: 489.2 kB / 469.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3099, allocations: 169.7 kB / 469.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.314, allocations: 1.729 MB / 471.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.315, allocations: 1.006 MB / 472.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000664/0.3157, allocations: 122.4 kB / 472.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.3159, allocations: 75.39 kB / 472.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3159, allocations: 0 / 472.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Templates: time 0.02355/0.3395, allocations: 12.24 MB / 484.8 MB, free: 6.574 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)