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.03971/0.03971, allocations: 5.394 MB / 20.51 MB, free: 2.062 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.0007162/0.0007162, 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.0008083/0.0008083, allocations: 185.1 kB / 24.58 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.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007662/0.007662, allocations: 2.319 MB / 303.1 MB, free: 3.625 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 91.86 kB / 366.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.069/0.0704, allocations: 51.2 MB / 417.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006423/0.07684, allocations: 6.869 MB / 424.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1225/0.1993, allocations: 3.965 MB / 428.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.2001, allocations: 22.31 kB / 428.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.2022, allocations: 1.077 MB / 429.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.2036, allocations: 0.7916 MB / 430.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.205, allocations: 0.5471 MB / 431 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.206, allocations: 1.317 MB / 432.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.2069, allocations: 0.8522 MB / 433.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.2075, allocations: 0.5039 MB / 433.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006127/0.2081, allocations: 0.6473 MB / 434.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.2083, allocations: 85.84 kB / 434.4 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.2088, allocations: 366.8 kB / 434.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.209, allocations: 252.1 kB / 435 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.2094, allocations: 0.5804 MB / 435.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.2104, allocations: 1.69 MB / 437.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2104, allocations: 0 / 437.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.2104, allocations: 0 / 437.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2104, allocations: 0 / 437.3 MB, free: 34.61 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.002929/0.2133, allocations: 1.799 MB / 439.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2134, allocations: 9.406 kB / 439.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.2135, allocations: 161.7 kB / 439.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.2152, allocations: 377.8 kB / 439.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.2164, allocations: 0.8009 MB / 440.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.2165, allocations: 80.42 kB / 440.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.2166, allocations: 104.8 kB / 440.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.218, allocations: 1.141 MB / 441.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2181, allocations: 0 / 441.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.2181, allocations: 48.53 kB / 441.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2182, allocations: 22.09 kB / 441.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2196, allocations: 0.9499 MB / 442.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.2236, allocations: 4.347 MB / 447.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.2253, allocations: 1.67 MB / 448.8 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.2258, allocations: 310 kB / 449.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.2259, allocations: 94.73 kB / 449.2 MB, free: 28.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.2265, allocations: 473 kB / 449.6 MB, free: 27.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.653e-06/0.2265, allocations: 0 / 449.6 MB, free: 27.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004841/0.2313, allocations: 1.54 MB / 451.2 MB, free: 27.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2314, allocations: 274 kB / 451.4 MB, free: 26.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.2319, allocations: 0.6702 MB / 452.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.232, allocations: 36.86 kB / 452.1 MB, free: 26.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2321, allocations: 0.5146 MB / 452.7 MB, free: 26.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.2322, allocations: 215.9 kB / 452.9 MB, free: 25.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2324, allocations: 183.4 kB / 453 MB, free: 25.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.2325, allocations: 386.6 kB / 453.4 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.233, allocations: 290.4 kB / 453.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.2336, allocations: 0.5341 MB / 454.2 MB, free: 25.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2346, allocations: 0.9093 MB / 455.2 MB, free: 24.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2346, allocations: 4.188 kB / 455.2 MB, free: 24.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001611/0.2362, allocations: 1.07 MB / 456.2 MB, free: 23.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2363, allocations: 66.84 kB / 456.3 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2363, allocations: 10.56 kB / 456.3 MB, free: 23.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.2367, allocations: 95 kB / 456.4 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.2374, allocations: 208.7 kB / 456.6 MB, free: 23.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/0.2383, allocations: 1.477 MB / 458.1 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.2389, allocations: 119.7 kB / 458.2 MB, free: 22.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.239, allocations: 43.95 kB / 458.2 MB, free: 22.27 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.0002693/0.2393, allocations: 338 kB / 458.6 MB, free: 21.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2394, allocations: 85.88 kB / 458.7 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.2409, allocations: 0.9143 MB / 459.6 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2409, allocations: 10.44 kB / 459.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2409, allocations: 3.031 kB / 459.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2409, allocations: 4.688 kB / 459.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.2456, allocations: 2.208 MB / 461.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2456, allocations: 3.062 kB / 461.8 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2459, allocations: 88.83 kB / 461.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006287/0.2465, allocations: 328.6 kB / 462.2 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.2465, allocations: 27.86 kB / 462.2 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009482/0.2475, allocations: 0.89 MB / 463.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2475, allocations: 6.406 kB / 463.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.2518, allocations: 1.631 MB / 464.8 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.252, allocations: 217 kB / 465 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2521, allocations: 17.06 kB / 465 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.2526, allocations: 49.2 kB / 465 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2526, allocations: 46.83 kB / 465.1 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.2527, allocations: 29.62 kB / 465.1 MB, free: 18.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.2531, allocations: 465.6 kB / 465.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2531, allocations: 4 kB / 465.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.2537, allocations: 322.5 kB / 465.9 MB, free: 18.55 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.00558/0.2593, allocations: 2.728 MB / 468.6 MB, free: 17.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.2606, allocations: 0.9585 MB / 469.6 MB, free: 16.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2606, allocations: 0 / 469.6 MB, free: 16.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.2612, allocations: 486 kB / 470 MB, free: 16.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.2619, allocations: 168 kB / 470.2 MB, free: 16.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.2704, allocations: 7.686 MB / 477.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2707, allocations: 1.013 MB / 478.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.2711, allocations: 121.2 kB / 479 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.2715, allocations: 394 kB / 479.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2715, allocations: 0 / 479.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.319, allocations: 19.56 MB / 499 MB, free: 2.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/0.3192, allocations: 279.9 kB / 499.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.199, allocations: 0 / 499.2 MB, free: 1.664 MB / 350.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)