Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.04134/0.04134, allocations: 5.378 MB / 20.33 MB, free: 1.434 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.0007882/0.0007881, allocations: 106.5 kB / 22.32 MB, free: 192 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.001267/0.001268, allocations: 180.4 kB / 24.4 MB, free: 1.805 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.348/1.348, allocations: 223.2 MB / 249.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008856/0.008856, allocations: 2.32 MB / 304.1 MB, free: 3.816 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 12 kB / 368.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 52.21 MB / 420.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007312/0.1217, allocations: 5.637 MB / 426.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1757/0.2974, allocations: 3.617 MB / 429.7 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.2986, allocations: 19.81 kB / 429.7 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.3, allocations: 373 kB / 430.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.3025, allocations: 0.7391 MB / 430.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3042, allocations: 417.4 kB / 431.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3063, allocations: 0.8769 MB / 432.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.3083, allocations: 1.233 MB / 433.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/0.3091, allocations: 446 kB / 433.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/0.3098, allocations: 0.5336 MB / 434.3 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.31, allocations: 60.38 kB / 434.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.3107, allocations: 288.2 kB / 434.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3109, allocations: 213.9 kB / 434.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3111, allocations: 227.7 kB / 435.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3122, allocations: 1.329 MB / 436.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.3122, allocations: 4.75 kB / 436.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3122, allocations: 0 / 436.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3123, allocations: 0 / 436.4 MB, free: 34.21 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.003374/0.3156, allocations: 1.586 MB / 438 MB, free: 33.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3157, allocations: 9.969 kB / 438 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.3159, allocations: 161.4 kB / 438.2 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.3179, allocations: 382 kB / 438.5 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.3195, allocations: 0.8032 MB / 439.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.3195, allocations: 87.56 kB / 439.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3197, allocations: 105.7 kB / 439.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3214, allocations: 1.159 MB / 440.7 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.3215, allocations: 3.938 kB / 440.7 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.389e-05/0.3216, allocations: 46.94 kB / 440.7 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3216, allocations: 26.59 kB / 440.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.3233, allocations: 1.069 MB / 441.8 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/0.3285, allocations: 4.392 MB / 446.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.3307, allocations: 1.75 MB / 448 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.257e-05/0.3307, allocations: 100.5 kB / 448.1 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007108/0.3315, allocations: 470 kB / 448.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.044e-06/0.3315, allocations: 0 / 448.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005282/0.3368, allocations: 1.703 MB / 450.2 MB, free: 29.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3368, allocations: 225 kB / 450.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007384/0.3376, allocations: 0.6492 MB / 451.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.3377, allocations: 46.67 kB / 451.1 MB, free: 28.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.3379, allocations: 0.5138 MB / 451.6 MB, free: 28.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3381, allocations: 237.5 kB / 451.9 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3381, allocations: 18.41 kB / 451.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.3382, allocations: 392 kB / 452.3 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.3388, allocations: 297 kB / 452.6 MB, free: 27.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.3394, allocations: 0.5298 MB / 453.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.3401, allocations: 428.3 kB / 453.5 MB, free: 27.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3401, allocations: 0 / 453.5 MB, free: 27.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00187/0.342, allocations: 1.116 MB / 454.6 MB, free: 26.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.342, allocations: 60.88 kB / 454.7 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.342, allocations: 11.8 kB / 454.7 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.3425, allocations: 85.81 kB / 454.8 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.3433, allocations: 226.3 kB / 455 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.3443, allocations: 1.482 MB / 456.5 MB, free: 25.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.345, allocations: 109.8 kB / 456.6 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.3451, allocations: 49.91 kB / 456.6 MB, free: 24.98 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004427/0.3456, allocations: 339.6 kB / 457 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3457, allocations: 79.41 kB / 457.1 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.3475, allocations: 1.021 MB / 458.1 MB, free: 24.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3475, allocations: 11.69 kB / 458.1 MB, free: 24.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3475, allocations: 3.953 kB / 458.1 MB, free: 24.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.3475, allocations: 0 / 458.1 MB, free: 24.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005425/0.3529, allocations: 2.344 MB / 460.4 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.353, allocations: 3.219 kB / 460.4 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.3533, allocations: 95.8 kB / 460.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/0.3541, allocations: 339.4 kB / 460.9 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.3541, allocations: 28.44 kB / 460.9 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3552, allocations: 0.9075 MB / 461.8 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3552, allocations: 3.234 kB / 461.8 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.3575, allocations: 1.435 MB / 463.2 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.3579, allocations: 227.8 kB / 463.5 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.358, allocations: 24.56 kB / 463.5 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.3585, allocations: 53.27 kB / 463.5 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.3586, allocations: 46.64 kB / 463.6 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.3587, allocations: 31.92 kB / 463.6 MB, free: 21.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004865/0.3592, allocations: 448.6 kB / 464.1 MB, free: 21.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3592, allocations: 0 / 464.1 MB, free: 21.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009108/0.3601, allocations: 321 kB / 464.4 MB, free: 21.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003645/0.3638, allocations: 2.682 MB / 467 MB, free: 19.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.3654, allocations: 0.9911 MB / 468 MB, free: 19.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3654, allocations: 0 / 468 MB, free: 19.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.3661, allocations: 0.4978 MB / 468.5 MB, free: 18.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.3668, allocations: 139 kB / 468.7 MB, free: 18.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.3712, allocations: 7.607 MB / 476.3 MB, free: 28.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.3717, allocations: 1.038 MB / 477.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.3722, allocations: 129.2 kB / 477.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.3727, allocations: 399.7 kB / 477.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3727, allocations: 0 / 477.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.4118, allocations: 18.55 MB / 496.4 MB, free: 22.35 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.412, allocations: 252.3 kB / 496.6 MB, free: 22.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.718, allocations: 0 / 496.6 MB, free: 22.02 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) Environment - environmentSimulation: