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.2807/0.2807, allocations: 5.395 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.007808/0.007808, allocations: 101.6 kB / 22.88 MB, free: 0.5664 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.001378/0.001378, allocations: 186.8 kB / 24.99 MB, free: 116 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.341/1.341, allocations: 222.9 MB / 249.9 MB, free: 8.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.2363/0.2363, allocations: 2.318 MB / 303.5 MB, free: 6.551 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 95.84 kB / 367.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2591, allocations: 51.2 MB / 418.5 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.005714/0.2648, allocations: 6.891 MB / 425.4 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.2695, allocations: 4.025 MB / 429.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.27, allocations: 23.94 kB / 429.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.272, allocations: 1.162 MB / 430.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.2734, allocations: 0.874 MB / 431.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2747, allocations: 0.6212 MB / 432.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009061/0.2757, allocations: 1.398 MB / 433.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009989/0.2767, allocations: 1.017 MB / 434.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.2771, allocations: 0.5603 MB / 435 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.2778, allocations: 0.6834 MB / 435.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.2779, allocations: 143.9 kB / 435.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.2786, allocations: 431.7 kB / 436.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.2787, allocations: 306.9 kB / 436.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.2791, allocations: 0.6219 MB / 437.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2803, allocations: 1.748 MB / 439 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2804, allocations: 0 / 439 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2804, allocations: 0 / 439 MB, free: 5.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2804, allocations: 0 / 439 MB, free: 5.832 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.003212/0.2836, allocations: 1.806 MB / 440.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.163e-05/0.2836, allocations: 8.031 kB / 440.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.2838, allocations: 160.6 kB / 440.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.2858, allocations: 371.2 kB / 441.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.2872, allocations: 0.8008 MB / 442.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.2872, allocations: 77.94 kB / 442.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2874, allocations: 111.9 kB / 442.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.2889, allocations: 1.134 MB / 443.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.289, allocations: 4 kB / 443.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.2891, allocations: 44 kB / 443.5 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2891, allocations: 24 kB / 443.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2907, allocations: 0.9447 MB / 444.4 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.2965, allocations: 4.341 MB / 448.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.299, allocations: 1.67 MB / 450.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.2997, allocations: 316.6 kB / 450.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.2998, allocations: 101.5 kB / 450.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007847/0.3006, allocations: 454.6 kB / 451.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.3006, allocations: 0 / 451.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005766/0.3064, allocations: 1.545 MB / 452.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.3065, allocations: 277.5 kB / 453.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.3073, allocations: 0.6643 MB / 453.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.3073, allocations: 45.73 kB / 453.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.3077, allocations: 0.5101 MB / 454.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3079, allocations: 217.1 kB / 454.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.3081, allocations: 186.4 kB / 454.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3083, allocations: 382.8 kB / 455.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.3089, allocations: 285.8 kB / 455.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.3097, allocations: 0.5325 MB / 455.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3112, allocations: 0.9254 MB / 456.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3112, allocations: 0 / 456.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0022/0.3134, allocations: 1.075 MB / 457.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.3135, allocations: 67.41 kB / 458 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.3135, allocations: 8 kB / 458 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.314, allocations: 85.06 kB / 458.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.3148, allocations: 215.7 kB / 458.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3163, allocations: 1.585 MB / 459.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.3171, allocations: 111.1 kB / 460 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.3172, allocations: 47.92 kB / 460 MB, free: 15.55 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.0003944/0.3176, allocations: 331.7 kB / 460.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3177, allocations: 87 kB / 460.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.3197, allocations: 0.9205 MB / 461.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3197, allocations: 11.98 kB / 461.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3197, allocations: 0 / 461.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3197, allocations: 7.938 kB / 461.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/0.3256, allocations: 2.202 MB / 463.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3256, allocations: 0 / 463.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.326, allocations: 87.91 kB / 463.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007945/0.3268, allocations: 334.3 kB / 464 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.3269, allocations: 23.98 kB / 464 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.3282, allocations: 0.8936 MB / 464.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3282, allocations: 3.938 kB / 464.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.3334, allocations: 1.626 MB / 466.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.3337, allocations: 219.9 kB / 466.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3339, allocations: 20.08 kB / 466.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.3344, allocations: 47.97 kB / 466.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.3345, allocations: 48.36 kB / 466.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.3346, allocations: 23.98 kB / 466.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005536/0.3352, allocations: 467 kB / 467.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3352, allocations: 0 / 467.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000862/0.336, allocations: 315 kB / 467.6 MB, free: 7.688 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.006812/0.3429, allocations: 2.748 MB / 470.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.3449, allocations: 0.991 MB / 471.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3449, allocations: 0 / 471.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.3458, allocations: 481.7 kB / 471.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3466, allocations: 180.3 kB / 472 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.3574, allocations: 7.26 MB / 479.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.358, allocations: 1.01 MB / 480.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004699/0.3585, allocations: 126.4 kB / 480.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.359, allocations: 395.3 kB / 480.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.359, allocations: 0 / 480.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/0.5962, allocations: 20.24 MB / 0.4893 GB, free: 6.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.11, allocations: 7.297 kB / 0.4893 GB, free: 6.219 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)