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.04398/0.04398, allocations: 5.396 MB / 20.9 MB, free: 1.359 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.007222/0.007222, allocations: 102.3 kB / 22.88 MB, free: 0.7656 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.001071/0.001071, allocations: 196.5 kB / 25 MB, free: 148 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.251/1.251, allocations: 222.9 MB / 249.9 MB, free: 8.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009501/0.009502, allocations: 2.325 MB / 303.5 MB, free: 6.504 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003174, allocations: 99.84 kB / 367.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1841, allocations: 51.21 MB / 418.5 MB, free: 26.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005996/0.1901, allocations: 6.843 MB / 425.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.1947, allocations: 3.939 MB / 429.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.1952, allocations: 23.94 kB / 429.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.1974, allocations: 1.158 MB / 430.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.1987, allocations: 0.8545 MB / 431.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1999, allocations: 0.5393 MB / 431.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.2008, allocations: 1.406 MB / 433.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009981/0.2018, allocations: 1.017 MB / 434.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.2022, allocations: 0.5526 MB / 434.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.2028, allocations: 0.6886 MB / 435.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.203, allocations: 144 kB / 435.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.2036, allocations: 435.7 kB / 436.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2037, allocations: 322.9 kB / 436.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.2041, allocations: 0.6336 MB / 437 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2053, allocations: 1.776 MB / 438.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2053, allocations: 0 / 438.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2054, allocations: 0 / 438.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.2054, allocations: 4 kB / 438.8 MB, free: 5.953 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.00344/0.2088, allocations: 1.81 MB / 440.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2089, allocations: 12.03 kB / 440.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.209, allocations: 160.8 kB / 440.8 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.2111, allocations: 379.1 kB / 441.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.2126, allocations: 0.8242 MB / 442 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.2126, allocations: 82.08 kB / 442 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2128, allocations: 104 kB / 442.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2144, allocations: 1.173 MB / 443.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.2145, allocations: 4 kB / 443.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.2146, allocations: 44 kB / 443.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2146, allocations: 24 kB / 443.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.2165, allocations: 1.072 MB / 444.5 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.2224, allocations: 4.384 MB / 448.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.2252, allocations: 1.74 MB / 450.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.226, allocations: 331.2 kB / 450.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/0.2261, allocations: 97.64 kB / 451 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008187/0.2269, allocations: 469.6 kB / 451.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.274e-06/0.2269, allocations: 0 / 451.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005969/0.2329, allocations: 1.588 MB / 453.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.233, allocations: 226.2 kB / 453.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.2338, allocations: 0.6485 MB / 453.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.2338, allocations: 45.7 kB / 454 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.2342, allocations: 0.518 MB / 454.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2344, allocations: 232.8 kB / 454.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.2346, allocations: 182.5 kB / 454.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2348, allocations: 398.7 kB / 455.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.2355, allocations: 297.8 kB / 455.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.2363, allocations: 0.5309 MB / 456.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.2378, allocations: 0.9321 MB / 457 MB, free: 2.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2379, allocations: 0 / 457 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002277/0.2401, allocations: 1.117 MB / 458.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2402, allocations: 67.39 kB / 458.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2402, allocations: 8 kB / 458.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.2407, allocations: 89 kB / 458.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.2416, allocations: 223.6 kB / 458.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.2432, allocations: 1.582 MB / 460.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.2439, allocations: 103.1 kB / 460.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.244, allocations: 55.97 kB / 460.3 MB, free: 15.29 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.0004391/0.2444, allocations: 339.1 kB / 460.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.2446, allocations: 83.06 kB / 460.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.2468, allocations: 1.014 MB / 461.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2468, allocations: 8 kB / 461.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2468, allocations: 4 kB / 461.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2468, allocations: 7.984 kB / 461.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.2532, allocations: 2.306 MB / 464 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2532, allocations: 0 / 464 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.2536, allocations: 95.89 kB / 464.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008386/0.2545, allocations: 334.2 kB / 464.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/0.2545, allocations: 27.97 kB / 464.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.2559, allocations: 0.9013 MB / 465.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2559, allocations: 0 / 465.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.2587, allocations: 1.401 MB / 466.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.2591, allocations: 220 kB / 467 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.2593, allocations: 31.92 kB / 467 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.2599, allocations: 39.97 kB / 467.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.26, allocations: 52.38 kB / 467.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.2601, allocations: 31.98 kB / 467.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006054/0.2607, allocations: 455 kB / 467.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2607, allocations: 0 / 467.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009653/0.2617, allocations: 319 kB / 467.9 MB, free: 7.434 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.00449/0.2662, allocations: 2.517 MB / 470.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.2685, allocations: 1.015 MB / 471.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2685, allocations: 0 / 471.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.2694, allocations: 0.4989 MB / 471.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/0.2703, allocations: 148.9 kB / 472.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.2821, allocations: 7.322 MB / 479.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.2827, allocations: 1.022 MB / 480.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005132/0.2832, allocations: 134.4 kB / 480.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.2837, allocations: 399.3 kB / 480.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2837, allocations: 0 / 480.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.572/2.856, allocations: 20.13 MB / 0.4893 GB, free: 6.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/21.95, allocations: 7.031 kB / 0.4893 GB, free: 6.219 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/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)