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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",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.03705/0.03705, allocations: 5.389 MB / 20.51 MB, free: 2.109 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.0007254/0.0007254, allocations: 112.1 kB / 22.5 MB, free: 492 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.0008058/0.0008058, allocations: 194 kB / 24.59 MB, free: 0.7266 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.067/1.067, allocations: 222.9 MB / 249.4 MB, free: 8.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007821/0.007821, allocations: 2.328 MB / 303.1 MB, free: 6.773 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 91.86 kB / 366.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 51.21 MB / 417.7 MB, free: 26.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.004946/0.1518, allocations: 6.856 MB / 424.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.1558, allocations: 3.982 MB / 428.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.1564, allocations: 23.94 kB / 428.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.1583, allocations: 1.089 MB / 429.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1596, allocations: 0.7883 MB / 430.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1608, allocations: 0.5516 MB / 431 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1615, allocations: 1.308 MB / 432.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.1623, allocations: 0.8515 MB / 433.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.1626, allocations: 0.5017 MB / 433.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.1632, allocations: 0.6573 MB / 434.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.1633, allocations: 87.94 kB / 434.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.1638, allocations: 367.7 kB / 434.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1639, allocations: 243 kB / 435 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.1642, allocations: 0.5867 MB / 435.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.1651, allocations: 1.69 MB / 437.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1651, allocations: 0 / 437.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1651, allocations: 4 kB / 437.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1651, allocations: 0 / 437.3 MB, free: 6.992 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.002907/0.168, allocations: 1.802 MB / 439.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.168, allocations: 12.02 kB / 439.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.1682, allocations: 156.6 kB / 439.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.1699, allocations: 375.1 kB / 439.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.1711, allocations: 0.8008 MB / 440.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1712, allocations: 78 kB / 440.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1713, allocations: 103.9 kB / 440.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1727, allocations: 1.134 MB / 441.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1727, allocations: 3.938 kB / 441.8 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.1728, allocations: 44 kB / 441.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1728, allocations: 24 kB / 441.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.1743, allocations: 0.9525 MB / 442.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.1789, allocations: 4.341 MB / 447.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.1811, allocations: 1.663 MB / 448.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.1817, allocations: 327.1 kB / 449.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.771e-05/0.1818, allocations: 93.47 kB / 449.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/0.1825, allocations: 458.6 kB / 449.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 1.664e-06/0.1825, allocations: 3.938 kB / 449.6 MB, free: 10 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005228/0.1877, allocations: 1.545 MB / 451.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1878, allocations: 277.6 kB / 451.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.1885, allocations: 0.6565 MB / 452.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1885, allocations: 41.7 kB / 452.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.1888, allocations: 0.5218 MB / 452.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.189, allocations: 213.1 kB / 452.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.1892, allocations: 190.5 kB / 453.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1893, allocations: 382.8 kB / 453.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.1899, allocations: 289.8 kB / 453.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.1906, allocations: 0.5287 MB / 454.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1919, allocations: 0.9215 MB / 455.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1919, allocations: 4.25 kB / 455.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001876/0.1938, allocations: 1.071 MB / 456.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.1938, allocations: 67.42 kB / 456.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1938, allocations: 8 kB / 456.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.1943, allocations: 88.72 kB / 456.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.195, allocations: 219.6 kB / 456.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1962, allocations: 1.475 MB / 458.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.1968, allocations: 115 kB / 458.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.1969, allocations: 43.98 kB / 458.3 MB, free: 0.8242 MB / 318.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.0003238/0.1972, allocations: 335.6 kB / 458.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1974, allocations: 83.06 kB / 458.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.1991, allocations: 0.9168 MB / 459.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1991, allocations: 11.98 kB / 459.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1991, allocations: 0 / 459.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1991, allocations: 0 / 459.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.2042, allocations: 2.206 MB / 461.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2042, allocations: 0 / 461.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.2045, allocations: 87.91 kB / 461.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007042/0.2053, allocations: 338.2 kB / 462.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.2053, allocations: 31.91 kB / 462.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2064, allocations: 0.8936 MB / 463.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2064, allocations: 0 / 463.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/0.211, allocations: 1.626 MB / 464.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.2113, allocations: 220 kB / 465 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2114, allocations: 24.02 kB / 465 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.2119, allocations: 43.97 kB / 465 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.212, allocations: 52.36 kB / 465.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.212, allocations: 23.98 kB / 465.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004607/0.2125, allocations: 467 kB / 465.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2125, allocations: 0 / 465.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006466/0.2131, allocations: 315 kB / 465.9 MB, free: 8.957 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.005962/0.2191, allocations: 2.735 MB / 468.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2206, allocations: 0.9525 MB / 469.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2206, allocations: 4.125 kB / 469.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.2213, allocations: 477.2 kB / 470 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.2221, allocations: 165.6 kB / 470.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/0.2314, allocations: 7.695 MB / 477.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.2319, allocations: 1.01 MB / 478.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.2323, allocations: 122.4 kB / 479 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.2327, allocations: 391.2 kB / 479.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2327, allocations: 0 / 479.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2648, allocations: 19.55 MB / 499 MB, free: 7.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.2651, allocations: 283.9 kB / 499.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.139, allocations: 0 / 499.2 MB, free: 7.453 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)