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.02887/0.02887, allocations: 5.396 MB / 20.89 MB, free: 1.359 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.006574/0.006574, allocations: 101 kB / 22.88 MB, free: 0.6562 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.001051/0.001051, allocations: 190.1 kB / 24.99 MB, free: 8 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.221/1.221, allocations: 222.9 MB / 249.9 MB, free: 8.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009501/0.009501, allocations: 2.312 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.001918/0.001918, allocations: 95.84 kB / 367.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.189, allocations: 51.22 MB / 418.5 MB, free: 26.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.005828/0.1949, allocations: 6.879 MB / 425.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.1991, allocations: 4.017 MB / 429.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1995, allocations: 19.94 kB / 429.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.2016, allocations: 1.17 MB / 430.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.2029, allocations: 0.8845 MB / 431.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2043, allocations: 0.6095 MB / 432.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008428/0.2051, allocations: 1.394 MB / 433.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.2061, allocations: 1.025 MB / 434.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.2065, allocations: 0.5603 MB / 435 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.2071, allocations: 0.6847 MB / 435.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.2073, allocations: 143.9 kB / 435.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.2079, allocations: 435.6 kB / 436.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.208, allocations: 295 kB / 436.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.2084, allocations: 0.6375 MB / 437.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2096, allocations: 1.737 MB / 439 MB, free: 5.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2096, allocations: 0 / 439 MB, free: 5.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2097, allocations: 0 / 439 MB, free: 5.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.2097, allocations: 0 / 439 MB, free: 5.816 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.003383/0.2131, allocations: 1.806 MB / 440.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2131, allocations: 12.03 kB / 440.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.2133, allocations: 156.6 kB / 440.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.2153, allocations: 375.2 kB / 441.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.2167, allocations: 0.8008 MB / 442.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.2168, allocations: 81.94 kB / 442.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.2169, allocations: 103.9 kB / 442.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.2185, allocations: 1.13 MB / 443.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2186, allocations: 4 kB / 443.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/0.2187, allocations: 40 kB / 443.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2187, allocations: 28 kB / 443.5 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.2204, allocations: 0.9525 MB / 444.4 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/0.2268, allocations: 4.338 MB / 448.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.2295, allocations: 1.67 MB / 450.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.2302, allocations: 316.6 kB / 450.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/0.2303, allocations: 105.4 kB / 450.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.2311, allocations: 454.6 kB / 451.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.2311, allocations: 0 / 451.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.00608/0.2372, allocations: 1.545 MB / 452.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2373, allocations: 277.6 kB / 453.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.2382, allocations: 0.6604 MB / 453.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.2383, allocations: 41.7 kB / 453.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.2386, allocations: 0.5179 MB / 454.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2388, allocations: 217.1 kB / 454.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.2391, allocations: 178.4 kB / 454.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2392, allocations: 398.8 kB / 455.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.2399, allocations: 277.8 kB / 455.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.2408, allocations: 0.5365 MB / 455.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2423, allocations: 0.9215 MB / 456.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2423, allocations: 0 / 456.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002316/0.2446, allocations: 1.071 MB / 457.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.2447, allocations: 70.48 kB / 458 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2447, allocations: 12 kB / 458 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.2452, allocations: 84.78 kB / 458.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.2461, allocations: 223.6 kB / 458.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.2476, allocations: 1.578 MB / 459.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.2484, allocations: 111.2 kB / 460 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.2485, allocations: 43.97 kB / 460 MB, free: 15.54 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.0004313/0.2489, allocations: 331.6 kB / 460.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2491, allocations: 86.98 kB / 460.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.2512, allocations: 0.9245 MB / 461.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2512, allocations: 8 kB / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2512, allocations: 0 / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2513, allocations: 7.922 kB / 461.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.2574, allocations: 2.21 MB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2574, allocations: 0 / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.2578, allocations: 87.89 kB / 463.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008893/0.2587, allocations: 326.3 kB / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.2588, allocations: 31.95 kB / 464 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.2603, allocations: 0.8896 MB / 464.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2603, allocations: 3.938 kB / 464.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.2662, allocations: 1.622 MB / 466.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.2667, allocations: 227.9 kB / 466.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.267, allocations: 20 kB / 466.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.2676, allocations: 47.95 kB / 466.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.2677, allocations: 44.33 kB / 466.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.2678, allocations: 27.97 kB / 466.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006332/0.2684, allocations: 463 kB / 467.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2684, allocations: 0 / 467.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001006/0.2695, allocations: 323 kB / 467.7 MB, free: 7.66 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.007035/0.2765, allocations: 2.731 MB / 470.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.2786, allocations: 0.9954 MB / 471.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2787, allocations: 0 / 471.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008824/0.2795, allocations: 485.3 kB / 471.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/0.2805, allocations: 178.9 kB / 472 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.2914, allocations: 7.265 MB / 479.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.292, allocations: 1.018 MB / 480.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004855/0.2925, allocations: 122.4 kB / 480.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.293, allocations: 391.3 kB / 480.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.293, allocations: 0 / 480.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2435/0.5365, allocations: 20.23 MB / 0.4893 GB, free: 6.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.88, allocations: 8.062 kB / 0.4893 GB, free: 6.203 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)