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.02897/0.02897, allocations: 5.395 MB / 20.89 MB, free: 1.406 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.006528/0.006528, allocations: 98.53 kB / 22.88 MB, free: 0.7812 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.001147/0.001147, allocations: 195.5 kB / 25 MB, free: 272 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.281/1.281, allocations: 222.9 MB / 249.9 MB, free: 8.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009292/0.009292, allocations: 2.313 MB / 303.5 MB, free: 6.562 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001847, allocations: 99.86 kB / 367.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.18, allocations: 51.2 MB / 418.5 MB, free: 26.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.00594/0.186, allocations: 6.849 MB / 425.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.1902, allocations: 3.943 MB / 429.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.1906, allocations: 20 kB / 429.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.1927, allocations: 1.158 MB / 430.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.1941, allocations: 0.8506 MB / 431.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1952, allocations: 0.5539 MB / 431.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.196, allocations: 1.394 MB / 433.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009722/0.197, allocations: 1.021 MB / 434.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.1974, allocations: 0.5565 MB / 434.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.198, allocations: 0.6848 MB / 435.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1981, allocations: 144 kB / 435.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.1987, allocations: 435.7 kB / 436.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1988, allocations: 314.8 kB / 436.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1992, allocations: 0.6414 MB / 437 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2003, allocations: 1.768 MB / 438.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2003, allocations: 4 kB / 438.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2003, allocations: 0 / 438.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2003, allocations: 0 / 438.8 MB, free: 6.012 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003328/0.2037, allocations: 1.812 MB / 440.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2037, allocations: 12.03 kB / 440.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.2039, allocations: 164.9 kB / 440.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.2059, allocations: 379 kB / 441.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.2073, allocations: 0.8164 MB / 442 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.2074, allocations: 78.08 kB / 442 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2075, allocations: 112 kB / 442.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.2092, allocations: 1.169 MB / 443.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.2092, allocations: 3.938 kB / 443.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.2093, allocations: 44 kB / 443.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.2093, allocations: 27.98 kB / 443.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.2111, allocations: 1.073 MB / 444.5 MB, free: 156 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.2169, allocations: 4.388 MB / 448.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2195, allocations: 1.747 MB / 450.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.2201, allocations: 323.8 kB / 450.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.29e-05/0.2202, allocations: 97.66 kB / 451 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/0.221, allocations: 465.7 kB / 451.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.375e-06/0.2211, allocations: 4 kB / 451.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005721/0.2268, allocations: 1.588 MB / 453.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.2269, allocations: 230.1 kB / 453.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.2277, allocations: 0.6524 MB / 453.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.2278, allocations: 37.7 kB / 454 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.2282, allocations: 0.5219 MB / 454.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.2283, allocations: 240.7 kB / 454.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.2286, allocations: 186.5 kB / 454.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2288, allocations: 382.8 kB / 455.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/0.2294, allocations: 297.8 kB / 455.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.2302, allocations: 0.5387 MB / 456.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.2317, allocations: 0.9283 MB / 457 MB, free: 2.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.2317, allocations: 4 kB / 457 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002211/0.2339, allocations: 1.114 MB / 458.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.234, allocations: 63.41 kB / 458.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.234, allocations: 4 kB / 458.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.2345, allocations: 100.9 kB / 458.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/0.2354, allocations: 211.7 kB / 458.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.2368, allocations: 1.589 MB / 460.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.2376, allocations: 107.2 kB / 460.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.2377, allocations: 43.98 kB / 460.3 MB, free: 15.34 MB / 334.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.0004295/0.2381, allocations: 339.1 kB / 460.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2383, allocations: 87.05 kB / 460.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.2404, allocations: 1.007 MB / 461.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2404, allocations: 11.94 kB / 461.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2405, allocations: 4 kB / 461.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2405, allocations: 7.984 kB / 461.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.2467, allocations: 2.302 MB / 464 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2467, allocations: 4 kB / 464 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.2471, allocations: 95.92 kB / 464.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/0.2479, allocations: 330.2 kB / 464.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.248, allocations: 35.95 kB / 464.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.2493, allocations: 0.8973 MB / 465.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2493, allocations: 4 kB / 465.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.2519, allocations: 1.405 MB / 466.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.2522, allocations: 227.9 kB / 467 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.2524, allocations: 23.94 kB / 467 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.2529, allocations: 51.95 kB / 467.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.253, allocations: 36.52 kB / 467.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.2531, allocations: 31.97 kB / 467.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005471/0.2537, allocations: 455 kB / 467.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2537, allocations: 0 / 467.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009289/0.2546, allocations: 319 kB / 467.9 MB, free: 7.48 MB / 334.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.004158/0.2588, allocations: 2.507 MB / 470.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.2609, allocations: 1.022 MB / 471.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2609, allocations: 0 / 471.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.2618, allocations: 0.4914 MB / 471.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.2626, allocations: 160.8 kB / 472.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.2734, allocations: 7.321 MB / 479.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.2739, allocations: 1.014 MB / 480.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.2744, allocations: 138.3 kB / 480.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/0.2749, allocations: 399.3 kB / 480.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2749, allocations: 0 / 480.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.376/2.651, allocations: 20.13 MB / 0.4893 GB, free: 6.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/21.15, allocations: 6.812 kB / 0.4893 GB, free: 6.258 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/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)