Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",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.03798/0.03798, allocations: 5.395 MB / 20.51 MB, free: 2.066 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.00073/0.0007301, allocations: 112.1 kB / 22.5 MB, free: 472 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.000817/0.000817, allocations: 190.5 kB / 24.59 MB, free: 1.777 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.087/1.087, allocations: 222.9 MB / 249.4 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007706/0.007706, allocations: 2.324 MB / 303.1 MB, free: 3.805 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 95.8 kB / 366.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07089/0.07233, allocations: 51.2 MB / 417.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006595/0.07895, allocations: 6.862 MB / 424.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1237/0.2027, allocations: 3.962 MB / 428.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.2035, allocations: 28.64 kB / 428.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.2056, allocations: 1.089 MB / 429.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.2072, allocations: 0.7906 MB / 430.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.2085, allocations: 0.5437 MB / 431 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008193/0.2093, allocations: 1.319 MB / 432.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008506/0.2102, allocations: 0.8538 MB / 433.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.2105, allocations: 0.5032 MB / 433.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.211, allocations: 0.645 MB / 434.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2112, allocations: 83.94 kB / 434.4 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.2117, allocations: 373.5 kB / 434.8 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2118, allocations: 247.8 kB / 435 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.2121, allocations: 0.5813 MB / 435.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.213, allocations: 1.689 MB / 437.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.213, allocations: 0 / 437.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.213, allocations: 0 / 437.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.213, allocations: 0 / 437.3 MB, free: 34.58 MB / 350.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.002975/0.216, allocations: 1.797 MB / 439.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.216, allocations: 12.47 kB / 439.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.2162, allocations: 162.2 kB / 439.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.2179, allocations: 373 kB / 439.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.2192, allocations: 0.806 MB / 440.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.2192, allocations: 77.12 kB / 440.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2193, allocations: 105.9 kB / 440.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2208, allocations: 1.136 MB / 441.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2208, allocations: 0 / 441.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.2209, allocations: 45.25 kB / 441.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2209, allocations: 25.25 kB / 441.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2224, allocations: 0.953 MB / 442.8 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.2263, allocations: 4.334 MB / 447.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.2281, allocations: 1.675 MB / 448.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.2286, allocations: 315 kB / 449.1 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.2287, allocations: 93.47 kB / 449.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/0.2293, allocations: 462.8 kB / 449.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.623e-06/0.2293, allocations: 0 / 449.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004884/0.2342, allocations: 1.543 MB / 451.2 MB, free: 27.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2343, allocations: 281.8 kB / 451.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.2348, allocations: 0.6624 MB / 452.1 MB, free: 26.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2348, allocations: 40.98 kB / 452.1 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.235, allocations: 0.5154 MB / 452.7 MB, free: 26.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.2351, allocations: 215.5 kB / 452.9 MB, free: 25.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.2353, allocations: 190 kB / 453.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.2354, allocations: 386.4 kB / 453.4 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.2359, allocations: 286.7 kB / 453.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.2365, allocations: 0.5319 MB / 454.2 MB, free: 25.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2375, allocations: 0.9123 MB / 455.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2375, allocations: 3.031 kB / 455.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00165/0.2392, allocations: 1.071 MB / 456.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.2392, allocations: 68.58 kB / 456.3 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2392, allocations: 10.17 kB / 456.3 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.2396, allocations: 87.67 kB / 456.4 MB, free: 23.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.2403, allocations: 214.4 kB / 456.6 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009113/0.2413, allocations: 1.472 MB / 458.1 MB, free: 22.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.2418, allocations: 115.1 kB / 458.2 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.2419, allocations: 43.12 kB / 458.2 MB, free: 22.25 MB / 350.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.000276/0.2422, allocations: 342.4 kB / 458.6 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2423, allocations: 84.69 kB / 458.6 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2438, allocations: 0.9114 MB / 459.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2438, allocations: 14.25 kB / 459.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.2438, allocations: 0 / 459.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2438, allocations: 3.328 kB / 459.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.2485, allocations: 2.207 MB / 461.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2485, allocations: 6.938 kB / 461.8 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.2488, allocations: 91.52 kB / 461.9 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/0.2495, allocations: 328.3 kB / 462.2 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.2495, allocations: 27.73 kB / 462.2 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/0.2504, allocations: 0.8944 MB / 463.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2505, allocations: 2.469 kB / 463.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.2548, allocations: 1.63 MB / 464.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2549, allocations: 214.1 kB / 465 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.2551, allocations: 27.33 kB / 465 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.2556, allocations: 48.47 kB / 465 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.2556, allocations: 40.55 kB / 465.1 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.2557, allocations: 32.59 kB / 465.1 MB, free: 18.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.2561, allocations: 466 kB / 465.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2561, allocations: 0 / 465.6 MB, free: 18.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.2567, allocations: 319.1 kB / 465.9 MB, free: 18.54 MB / 350.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.005559/0.2623, allocations: 2.738 MB / 468.6 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.2636, allocations: 0.9658 MB / 469.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2636, allocations: 0 / 469.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.2643, allocations: 487.9 kB / 470.1 MB, free: 16.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.2651, allocations: 151.8 kB / 470.2 MB, free: 16.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00856/0.2736, allocations: 7.684 MB / 477.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.274, allocations: 1.017 MB / 478.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.2744, allocations: 121.9 kB / 479 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.2747, allocations: 392.1 kB / 479.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2747, allocations: 0 / 479.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.3058, allocations: 19.56 MB / 499 MB, free: 2.039 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001209/0.3059, allocations: 291.9 kB / 499.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.198, allocations: 0 / 499.2 MB, free: 1.645 MB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)