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.0315/0.0315, allocations: 5.386 MB / 20.66 MB, free: 1.66 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.0005986/0.0005986, allocations: 90.92 kB / 22.64 MB, free: 436 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.0006801/0.0006802, allocations: 176 kB / 24.74 MB, free: 1.809 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.163/1.163, allocations: 223.3 MB / 250 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007881/0.007881, allocations: 2.309 MB / 304.6 MB, free: 3.32 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 15.98 kB / 369 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08009, allocations: 52.21 MB / 421.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.1516/0.2317, allocations: 6.369 MB / 427.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.2367, allocations: 3.905 MB / 431.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.2371, allocations: 20.97 kB / 431.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.238, allocations: 459 kB / 431.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.2393, allocations: 0.782 MB / 432.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.2406, allocations: 0.5455 MB / 433.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.2415, allocations: 1.313 MB / 434.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.2432, allocations: 1.415 MB / 436 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.2436, allocations: 473.1 kB / 436.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.2442, allocations: 0.5765 MB / 437 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.2443, allocations: 57.03 kB / 437.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.2448, allocations: 348.8 kB / 437.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.245, allocations: 211 kB / 437.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.2454, allocations: 0.5598 MB / 438.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009857/0.2463, allocations: 1.642 MB / 439.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2464, allocations: 0 / 439.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2464, allocations: 3.188 kB / 439.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2464, allocations: 0 / 439.8 MB, free: 33.43 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.00297/0.2494, allocations: 1.579 MB / 441.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2494, allocations: 10.03 kB / 441.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.2495, allocations: 160.2 kB / 441.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.2514, allocations: 378.1 kB / 442 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2527, allocations: 0.8098 MB / 442.8 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2528, allocations: 75.56 kB / 442.8 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.2529, allocations: 108.2 kB / 442.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.2545, allocations: 1.133 MB / 444.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.2546, allocations: 7.438 kB / 444.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.2547, allocations: 40.59 kB / 444.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.2547, allocations: 23.66 kB / 444.2 MB, free: 31.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2562, allocations: 0.9561 MB / 445.1 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.2607, allocations: 4.361 MB / 449.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2626, allocations: 1.679 MB / 451.1 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.2632, allocations: 316.3 kB / 451.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.2632, allocations: 97.08 kB / 451.6 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/0.2639, allocations: 459.3 kB / 452 MB, free: 27.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.993e-06/0.2639, allocations: 0 / 452 MB, free: 27.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004942/0.2688, allocations: 1.598 MB / 453.6 MB, free: 26.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.2689, allocations: 271.1 kB / 453.9 MB, free: 26.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.2695, allocations: 0.6665 MB / 454.5 MB, free: 26.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.2696, allocations: 46.48 kB / 454.6 MB, free: 26.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2698, allocations: 0.5178 MB / 455.1 MB, free: 25.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2699, allocations: 219.7 kB / 455.3 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.27, allocations: 78.45 kB / 455.4 MB, free: 25.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.2701, allocations: 388.8 kB / 455.8 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.2706, allocations: 286.6 kB / 456 MB, free: 25.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.2712, allocations: 0.5383 MB / 456.6 MB, free: 24.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.2723, allocations: 0.9267 MB / 457.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2723, allocations: 4 kB / 457.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001725/0.2741, allocations: 1.074 MB / 458.6 MB, free: 23.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.2741, allocations: 73.14 kB / 458.7 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.2741, allocations: 10.72 kB / 458.7 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.2745, allocations: 79.95 kB / 458.7 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.2753, allocations: 221.4 kB / 459 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.2763, allocations: 1.481 MB / 460.4 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.277, allocations: 106.5 kB / 460.5 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.277, allocations: 43.06 kB / 460.6 MB, free: 21.91 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.0003198/0.2774, allocations: 339.8 kB / 460.9 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.2775, allocations: 80.56 kB / 461 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.279, allocations: 0.9339 MB / 461.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2791, allocations: 6.219 kB / 461.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2791, allocations: 1.188 kB / 461.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2791, allocations: 9.812 kB / 461.9 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.284, allocations: 2.237 MB / 464.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.284, allocations: 0 / 464.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.2843, allocations: 95.39 kB / 464.3 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006805/0.285, allocations: 335.8 kB / 464.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.2851, allocations: 24.19 kB / 464.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2861, allocations: 0.9016 MB / 465.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2861, allocations: 3.406 kB / 465.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.2906, allocations: 1.667 MB / 467.2 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.2909, allocations: 232.8 kB / 467.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.291, allocations: 25.16 kB / 467.5 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.2915, allocations: 54.12 kB / 467.5 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.2916, allocations: 44.7 kB / 467.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.2917, allocations: 32.91 kB / 467.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004392/0.2921, allocations: 467 kB / 468 MB, free: 18.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2921, allocations: 0 / 468 MB, free: 18.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000785/0.2929, allocations: 316.3 kB / 468.3 MB, free: 18.18 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.006796/0.2997, allocations: 2.769 MB / 471.1 MB, free: 16.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.3021, allocations: 0.9661 MB / 472.1 MB, free: 16.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3022, allocations: 4.312 kB / 472.1 MB, free: 16.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3032, allocations: 487.8 kB / 472.6 MB, free: 16.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.3046, allocations: 167.5 kB / 472.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.3187, allocations: 7.784 MB / 480.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.3193, allocations: 1.006 MB / 481.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.32, allocations: 123.7 kB / 481.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.3206, allocations: 389.4 kB / 482 MB, free: 10.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3206, allocations: 3.938 kB / 482 MB, free: 10.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2649/0.5855, allocations: 19.2 MB / 0.4895 GB, free: 1.633 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.5857, allocations: 289.9 kB / 0.4898 GB, free: 1.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.715, allocations: 2.953 kB / 0.4898 GB, free: 1.242 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)