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.03101/0.03101, allocations: 5.386 MB / 20.66 MB, free: 1.672 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.000718/0.000718, allocations: 98.78 kB / 22.65 MB, free: 440 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.0008917/0.0008918, allocations: 184.8 kB / 24.74 MB, free: 1.828 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.147/1.147, allocations: 223.3 MB / 250 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00795/0.00795, allocations: 2.304 MB / 304.6 MB, free: 3.293 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 12 kB / 369 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.08004, allocations: 52.2 MB / 421.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.1466/0.2267, allocations: 6.33 MB / 427.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.2317, allocations: 3.828 MB / 431.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.2325, allocations: 16.59 kB / 431.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2337, allocations: 451 kB / 431.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.2353, allocations: 0.7599 MB / 432.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2366, allocations: 492 kB / 433 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2377, allocations: 1.316 MB / 434.4 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.2395, allocations: 1.415 MB / 435.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.24, allocations: 456.4 kB / 436.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.2406, allocations: 0.5876 MB / 436.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.2408, allocations: 58.12 kB / 436.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.2414, allocations: 356.3 kB / 437.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.2416, allocations: 224.1 kB / 437.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.242, allocations: 0.5591 MB / 438 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009818/0.243, allocations: 1.674 MB / 439.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.243, allocations: 0 / 439.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.243, allocations: 0 / 439.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.243, allocations: 0 / 439.7 MB, free: 33.97 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.002787/0.2458, allocations: 1.591 MB / 441.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.2458, allocations: 10.09 kB / 441.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.246, allocations: 159.1 kB / 441.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.2478, allocations: 378.4 kB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.2491, allocations: 0.8296 MB / 442.6 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.2492, allocations: 81.17 kB / 442.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2493, allocations: 108.5 kB / 442.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.2508, allocations: 1.178 MB / 444 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.2509, allocations: 4.875 kB / 444 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.251, allocations: 43.06 kB / 444 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.251, allocations: 26.94 kB / 444.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.2526, allocations: 1.078 MB / 445.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.2569, allocations: 4.4 MB / 449.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2589, allocations: 1.746 MB / 451.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.2594, allocations: 334.2 kB / 451.6 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.2595, allocations: 92.66 kB / 451.7 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000611/0.2601, allocations: 469 kB / 452.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.274e-06/0.2601, allocations: 0 / 452.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.00474/0.2648, allocations: 1.644 MB / 453.8 MB, free: 27.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2649, allocations: 220.3 kB / 454 MB, free: 26.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.2654, allocations: 0.6508 MB / 454.7 MB, free: 26.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.2655, allocations: 40.98 kB / 454.7 MB, free: 26.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.2657, allocations: 0.5266 MB / 455.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2658, allocations: 234 kB / 455.5 MB, free: 25.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.2659, allocations: 89.05 kB / 455.6 MB, free: 25.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.2659, allocations: 386.4 kB / 455.9 MB, free: 25.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.2665, allocations: 300 kB / 456.2 MB, free: 25.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.267, allocations: 0.5417 MB / 456.8 MB, free: 25.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2681, allocations: 0.9402 MB / 457.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.2681, allocations: 0 / 457.7 MB, free: 24.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001676/0.2698, allocations: 1.126 MB / 458.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.2699, allocations: 65.06 kB / 458.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2699, allocations: 7.828 kB / 458.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.2703, allocations: 89.33 kB / 459 MB, free: 23.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/0.271, allocations: 223.9 kB / 459.2 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.2719, allocations: 1.467 MB / 460.7 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.2725, allocations: 112.5 kB / 460.8 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.2726, allocations: 46.47 kB / 460.8 MB, free: 22.25 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.0002952/0.2729, allocations: 338 kB / 461.2 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.273, allocations: 89.06 kB / 461.2 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.2746, allocations: 1.021 MB / 462.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2746, allocations: 8.719 kB / 462.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2747, allocations: 3.375 kB / 462.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2747, allocations: 0 / 462.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.2795, allocations: 2.343 MB / 464.6 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2795, allocations: 0 / 464.6 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.2798, allocations: 103.8 kB / 464.7 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006501/0.2805, allocations: 334 kB / 465 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.2805, allocations: 27.19 kB / 465.1 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009638/0.2815, allocations: 0.9079 MB / 466 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2815, allocations: 6.75 kB / 466 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2835, allocations: 1.412 MB / 467.4 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.2837, allocations: 243.3 kB / 467.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2838, allocations: 29.06 kB / 467.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.2843, allocations: 47.16 kB / 467.7 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.2844, allocations: 48.14 kB / 467.8 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.2845, allocations: 28.88 kB / 467.8 MB, free: 18.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.2849, allocations: 455.4 kB / 468.2 MB, free: 18.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2849, allocations: 0 / 468.2 MB, free: 18.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006535/0.2855, allocations: 323.9 kB / 468.6 MB, free: 18.46 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.003294/0.2888, allocations: 2.522 MB / 471.1 MB, free: 17.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2902, allocations: 1.001 MB / 472.1 MB, free: 16.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2903, allocations: 448 / 472.1 MB, free: 16.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.291, allocations: 0.4976 MB / 472.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.2917, allocations: 141.9 kB / 472.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009037/0.3008, allocations: 7.857 MB / 480.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3012, allocations: 1.019 MB / 481.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.3016, allocations: 135.7 kB / 481.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.302, allocations: 400.1 kB / 482.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.302, allocations: 0 / 482.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6082/0.9102, allocations: 19.08 MB / 0.4894 GB, free: 1.848 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.9104, allocations: 289.2 kB / 0.4897 GB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.954, allocations: 0 / 0.4897 GB, free: 1.461 MB / 350.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/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)