Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",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.03136/0.03136, allocations: 5.39 MB / 20.62 MB, free: 2.027 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.0008932/0.0008933, allocations: 104.1 kB / 22.61 MB, free: 408 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.001076/0.001076, allocations: 193.5 kB / 24.71 MB, free: 1.715 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.314/1.314, allocations: 222.9 MB / 249.6 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008624/0.008625, allocations: 2.323 MB / 303.2 MB, free: 3.828 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 87.86 kB / 370.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09936, allocations: 51.21 MB / 421.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.2042/0.3036, allocations: 6.812 MB / 428.2 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.3096, allocations: 3.865 MB / 432 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009538/0.3106, allocations: 19.25 kB / 432.1 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.3133, allocations: 1.077 MB / 433.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.3153, allocations: 0.7653 MB / 433.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.3171, allocations: 0.4929 MB / 434.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.3188, allocations: 1.4 MB / 435.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.3202, allocations: 1.098 MB / 436.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.3208, allocations: 0.558 MB / 437.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.3214, allocations: 0.6964 MB / 438.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3216, allocations: 142.8 kB / 438.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007954/0.3224, allocations: 434.4 kB / 438.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3226, allocations: 318.2 kB / 439 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.323, allocations: 0.6378 MB / 439.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.3244, allocations: 1.773 MB / 441.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3244, allocations: 4 kB / 441.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3244, allocations: 0 / 441.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3245, allocations: 0 / 441.4 MB, free: 35.9 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00355/0.328, allocations: 1.804 MB / 443.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3281, allocations: 9.781 kB / 443.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3282, allocations: 163.1 kB / 443.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.3302, allocations: 382.5 kB / 443.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3317, allocations: 0.8165 MB / 444.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.3317, allocations: 81.23 kB / 444.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.3319, allocations: 108.3 kB / 444.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3336, allocations: 1.167 MB / 446 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.3336, allocations: 7.125 kB / 446 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.3337, allocations: 41.34 kB / 446 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3338, allocations: 32.62 kB / 446 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3355, allocations: 1.071 MB / 447.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.3408, allocations: 4.378 MB / 451.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.3431, allocations: 1.751 MB / 453.2 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.3437, allocations: 326.7 kB / 453.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.3438, allocations: 90.33 kB / 453.6 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/0.3445, allocations: 474.2 kB / 454.1 MB, free: 28.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/0.3445, allocations: 0 / 454.1 MB, free: 28.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005596/0.3501, allocations: 1.58 MB / 455.7 MB, free: 27.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.3503, allocations: 233.3 kB / 455.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.351, allocations: 0.6538 MB / 456.6 MB, free: 27.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.3511, allocations: 44.05 kB / 456.6 MB, free: 27.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3514, allocations: 0.517 MB / 457.1 MB, free: 26.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.3515, allocations: 236.7 kB / 457.4 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3518, allocations: 189.9 kB / 457.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.3519, allocations: 386.3 kB / 457.9 MB, free: 26.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.3525, allocations: 297.7 kB / 458.2 MB, free: 26.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.3531, allocations: 0.5384 MB / 458.8 MB, free: 25.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3544, allocations: 0.9337 MB / 459.7 MB, free: 24.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.3544, allocations: 5.312 kB / 459.7 MB, free: 24.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001952/0.3564, allocations: 1.112 MB / 460.8 MB, free: 24.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.3564, allocations: 67.69 kB / 460.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3564, allocations: 6.125 kB / 460.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.3569, allocations: 89 kB / 461 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.3577, allocations: 224.1 kB / 461.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3589, allocations: 1.579 MB / 462.8 MB, free: 22.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.3597, allocations: 111.1 kB / 462.9 MB, free: 22.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.3598, allocations: 44.42 kB / 462.9 MB, free: 22.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004613/0.3603, allocations: 346.6 kB / 463.3 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3604, allocations: 78.22 kB / 463.3 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.3622, allocations: 1.008 MB / 464.3 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3622, allocations: 8.688 kB / 464.3 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3622, allocations: 0 / 464.3 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3623, allocations: 3.422 kB / 464.3 MB, free: 21.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00563/0.3679, allocations: 2.313 MB / 466.7 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3679, allocations: 0 / 466.7 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.3683, allocations: 103.5 kB / 466.8 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007479/0.369, allocations: 327.7 kB / 467.1 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.3691, allocations: 30.66 kB / 467.1 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3702, allocations: 0.9019 MB / 468 MB, free: 20.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3702, allocations: 3.125 kB / 468 MB, free: 20.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.3725, allocations: 1.395 MB / 469.4 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.3728, allocations: 223.1 kB / 469.6 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.3729, allocations: 21.72 kB / 469.7 MB, free: 19.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.3735, allocations: 55.23 kB / 469.7 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.3736, allocations: 41.78 kB / 469.7 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.3737, allocations: 33.36 kB / 469.8 MB, free: 19.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004605/0.3741, allocations: 453.7 kB / 470.2 MB, free: 19.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3741, allocations: 0 / 470.2 MB, free: 19.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009319/0.3751, allocations: 325.9 kB / 470.5 MB, free: 18.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.004/0.3791, allocations: 2.503 MB / 473 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.3812, allocations: 1.019 MB / 474.1 MB, free: 17.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3812, allocations: 5.281 kB / 474.1 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.382, allocations: 0.4903 MB / 474.6 MB, free: 16.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.3828, allocations: 150.2 kB / 474.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.3937, allocations: 7.766 MB / 482.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3942, allocations: 1.021 MB / 483.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.3948, allocations: 136 kB / 483.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.3952, allocations: 396.5 kB / 484 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3952, allocations: 0 / 484 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4676/0.8628, allocations: 20.04 MB / 0.4922 GB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003841/0.8632, allocations: 298.2 kB / 0.4925 GB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.247, allocations: 64 / 0.4925 GB, free: 15.48 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)