Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.03016/0.03016, allocations: 5.381 MB / 20.34 MB, free: 2.258 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.001008/0.001008, allocations: 95.81 kB / 22.31 MB, free: 0.7852 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.001377/0.001377, allocations: 173.4 kB / 24.39 MB, free: 1.984 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.342/1.342, allocations: 223.2 MB / 249.5 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008397/0.008397, allocations: 2.322 MB / 304.1 MB, free: 4.496 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 12 kB / 368.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 52.2 MB / 420.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006582/0.1112, allocations: 5.641 MB / 426.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2039/0.3152, allocations: 3.615 MB / 429.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008372/0.316, allocations: 22.59 kB / 429.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3173, allocations: 371.4 kB / 430.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.3196, allocations: 0.7461 MB / 430.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.321, allocations: 413.7 kB / 431.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.3226, allocations: 0.8837 MB / 432.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.3246, allocations: 1.232 MB / 433.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.3253, allocations: 440.1 kB / 433.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.326, allocations: 0.5304 MB / 434.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.3262, allocations: 62.59 kB / 434.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3273, allocations: 293.5 kB / 434.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.3275, allocations: 213.4 kB / 434.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.328, allocations: 227.4 kB / 435.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3298, allocations: 1.324 MB / 436.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3299, allocations: 0 / 436.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3299, allocations: 0.7812 kB / 436.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.3299, allocations: 0 / 436.4 MB, free: 33.84 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.003755/0.3337, allocations: 1.597 MB / 438 MB, free: 33.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3337, allocations: 9.656 kB / 438 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002308/0.334, allocations: 165.4 kB / 438.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.336, allocations: 378.9 kB / 438.5 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.3379, allocations: 0.7964 MB / 439.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/0.338, allocations: 85.19 kB / 439.4 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3382, allocations: 110.5 kB / 439.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3401, allocations: 1.157 MB / 440.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.3401, allocations: 0 / 440.7 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.3402, allocations: 49.97 kB / 440.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.3403, allocations: 25.91 kB / 440.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.3421, allocations: 1.074 MB / 441.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.3481, allocations: 4.385 MB / 446.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.3505, allocations: 1.757 MB / 448 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/0.3507, allocations: 91.81 kB / 448.1 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007948/0.3515, allocations: 466.5 kB / 448.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.537e-06/0.3515, allocations: 0 / 448.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005571/0.3571, allocations: 1.714 MB / 450.2 MB, free: 28.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.3572, allocations: 225.7 kB / 450.4 MB, free: 28.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/0.3581, allocations: 0.6443 MB / 451.1 MB, free: 28.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.3582, allocations: 47.7 kB / 451.1 MB, free: 28.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.3586, allocations: 0.5124 MB / 451.6 MB, free: 28.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.3588, allocations: 236.1 kB / 451.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3588, allocations: 18.19 kB / 451.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.359, allocations: 390.5 kB / 452.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.3595, allocations: 305.4 kB / 452.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.3602, allocations: 0.5321 MB / 453.1 MB, free: 27.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.3609, allocations: 419.9 kB / 453.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3609, allocations: 0 / 453.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001985/0.3629, allocations: 1.114 MB / 454.6 MB, free: 26.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.3629, allocations: 64.53 kB / 454.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.363, allocations: 6.281 kB / 454.7 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.3634, allocations: 92.14 kB / 454.8 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.3642, allocations: 222.6 kB / 455 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.3654, allocations: 1.486 MB / 456.5 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/0.3664, allocations: 116.2 kB / 456.6 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.3665, allocations: 43.44 kB / 456.6 MB, free: 24.83 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.0007179/0.3672, allocations: 342.4 kB / 457 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3674, allocations: 79.91 kB / 457.1 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.3692, allocations: 1.013 MB / 458.1 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3693, allocations: 10.53 kB / 458.1 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3693, allocations: 7.766 kB / 458.1 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3693, allocations: 3.375 kB / 458.1 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.3748, allocations: 2.339 MB / 460.4 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3748, allocations: 0 / 460.4 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.3752, allocations: 96.53 kB / 460.5 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/0.376, allocations: 341.8 kB / 460.9 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.376, allocations: 29.91 kB / 460.9 MB, free: 22.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.3771, allocations: 0.9078 MB / 461.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3771, allocations: 0 / 461.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3793, allocations: 1.433 MB / 463.2 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.3797, allocations: 235.8 kB / 463.5 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3798, allocations: 17.19 kB / 463.5 MB, free: 21.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.3803, allocations: 62.48 kB / 463.5 MB, free: 21.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.3804, allocations: 42.22 kB / 463.6 MB, free: 21.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.3805, allocations: 32.72 kB / 463.6 MB, free: 21.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.381, allocations: 451.9 kB / 464.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.381, allocations: 0 / 464.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3821, allocations: 325 kB / 464.4 MB, free: 21.03 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.003851/0.3859, allocations: 2.676 MB / 467 MB, free: 19.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.3877, allocations: 0.9934 MB / 468 MB, free: 19.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3877, allocations: 1.375 kB / 468 MB, free: 19.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.3885, allocations: 0.4938 MB / 468.5 MB, free: 18.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.3892, allocations: 131.3 kB / 468.7 MB, free: 18.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.3941, allocations: 7.613 MB / 476.3 MB, free: 28.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.3947, allocations: 1.039 MB / 477.3 MB, free: 27.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.3953, allocations: 131.6 kB / 477.4 MB, free: 27.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.3957, allocations: 399.3 kB / 477.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3957, allocations: 3.938 kB / 477.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.4368, allocations: 18.54 MB / 496.4 MB, free: 22.37 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.437, allocations: 253.9 kB / 496.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.678, allocations: 1.625 kB / 496.6 MB, free: 22.04 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) Environment - environmentSimulation: