Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02878/0.02878, allocations: 5.39 MB / 20.62 MB, free: 2.023 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.0008644/0.0008644, allocations: 100.1 kB / 22.61 MB, free: 408 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.001378/0.001378, allocations: 188.4 kB / 24.7 MB, free: 0.6719 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.345/1.345, allocations: 222.9 MB / 249.6 MB, free: 6.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009318/0.009318, allocations: 2.316 MB / 303.2 MB, free: 6.504 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 95.84 kB / 366.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1921, allocations: 51.21 MB / 417.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.005892/0.198, allocations: 6.853 MB / 424.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.203, allocations: 3.955 MB / 428.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.2037, allocations: 27.94 kB / 428.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.2059, allocations: 1.096 MB / 429.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.2075, allocations: 0.7776 MB / 430.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2089, allocations: 0.5491 MB / 431.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009818/0.2099, allocations: 1.394 MB / 432.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.211, allocations: 1.083 MB / 433.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.2114, allocations: 0.572 MB / 434.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.212, allocations: 0.6885 MB / 434.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.2122, allocations: 143.9 kB / 435.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.2128, allocations: 431.7 kB / 435.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.213, allocations: 302.9 kB / 435.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.2133, allocations: 0.6297 MB / 436.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2145, allocations: 1.741 MB / 438.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2145, allocations: 0 / 438.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2145, allocations: 0 / 438.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2146, allocations: 0 / 438.2 MB, free: 6.25 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.003479/0.2181, allocations: 1.806 MB / 440 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2181, allocations: 8.031 kB / 440 MB, free: 4.367 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.2183, allocations: 160.6 kB / 440.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.2203, allocations: 375.2 kB / 440.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.2218, allocations: 0.7969 MB / 441.3 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.2219, allocations: 81.94 kB / 441.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.222, allocations: 103.9 kB / 441.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.2237, allocations: 1.134 MB / 442.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.2238, allocations: 3.938 kB / 442.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.2239, allocations: 44 kB / 442.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2239, allocations: 24 kB / 442.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.2255, allocations: 0.9485 MB / 443.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/0.2315, allocations: 4.345 MB / 448 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.234, allocations: 1.672 MB / 449.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.2347, allocations: 318.1 kB / 449.9 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.2348, allocations: 93.47 kB / 450 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008111/0.2356, allocations: 458.6 kB / 450.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.335e-06/0.2356, allocations: 0 / 450.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005968/0.2416, allocations: 1.541 MB / 452 MB, free: 7.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.2418, allocations: 281.6 kB / 452.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.2428, allocations: 0.6565 MB / 453 MB, free: 6.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.2428, allocations: 41.7 kB / 453 MB, free: 6.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.2433, allocations: 0.5257 MB / 453.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.2435, allocations: 213.1 kB / 453.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.2438, allocations: 182.4 kB / 453.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2439, allocations: 386.7 kB / 454.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.2446, allocations: 285.8 kB / 454.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.2454, allocations: 0.5325 MB / 455.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2469, allocations: 0.9176 MB / 456 MB, free: 3.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.2469, allocations: 8 kB / 456 MB, free: 3.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00231/0.2492, allocations: 1.067 MB / 457.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.2493, allocations: 67.39 kB / 457.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.2493, allocations: 11.94 kB / 457.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.2498, allocations: 89.06 kB / 457.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.2507, allocations: 211.7 kB / 457.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.2522, allocations: 1.593 MB / 459.1 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/0.2531, allocations: 107.2 kB / 459.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/0.2532, allocations: 47.97 kB / 459.2 MB, free: 15.96 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.0004722/0.2537, allocations: 331.5 kB / 459.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.2539, allocations: 86.98 kB / 459.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.2558, allocations: 0.9206 MB / 460.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2559, allocations: 8 kB / 460.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2559, allocations: 4 kB / 460.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.2559, allocations: 7.922 kB / 460.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006024/0.2619, allocations: 2.198 MB / 462.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2619, allocations: 4 kB / 462.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.2623, allocations: 95.86 kB / 462.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000822/0.2632, allocations: 326.3 kB / 463.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.2632, allocations: 27.95 kB / 463.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.2645, allocations: 0.8896 MB / 464.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2645, allocations: 3.938 kB / 464.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.2701, allocations: 1.63 MB / 465.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.2705, allocations: 219.9 kB / 465.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.2707, allocations: 16 kB / 466 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.2713, allocations: 51.95 kB / 466 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.2714, allocations: 40.39 kB / 466 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.2715, allocations: 36.03 kB / 466.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006028/0.2721, allocations: 463 kB / 466.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2721, allocations: 4 kB / 466.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001009/0.2731, allocations: 319 kB / 466.8 MB, free: 8.09 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.00711/0.2803, allocations: 2.73 MB / 469.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.2825, allocations: 0.9902 MB / 470.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2825, allocations: 0 / 470.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.2834, allocations: 486.6 kB / 471 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2844, allocations: 185.7 kB / 471.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.2965, allocations: 7.682 MB / 478.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.2971, allocations: 1.018 MB / 479.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005207/0.2976, allocations: 122.4 kB / 480 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.2981, allocations: 387.3 kB / 480.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2981, allocations: 0 / 480.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.3383, allocations: 20.13 MB / 0.4888 GB, free: 6.352 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.3386, allocations: 280.2 kB / 0.4891 GB, free: 5.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.633, allocations: 2.672 kB / 0.4891 GB, free: 5.969 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160808.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)