Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",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.03362/0.03362, allocations: 5.397 MB / 20.52 MB, free: 2.062 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.0007173/0.0007173, allocations: 112.1 kB / 22.5 MB, free: 472 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.0007984/0.0007984, allocations: 190.3 kB / 24.59 MB, free: 1.777 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.071/1.071, allocations: 222.9 MB / 249.4 MB, free: 13.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007561/0.007561, allocations: 2.321 MB / 303.1 MB, free: 4.492 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 91.86 kB / 369.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06868/0.07009, allocations: 51.21 MB / 421.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1236/0.1937, allocations: 6.814 MB / 428 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.1978, allocations: 3.891 MB / 431.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.1984, allocations: 22.56 kB / 431.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.2004, allocations: 1.073 MB / 433 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.2018, allocations: 0.7713 MB / 433.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.203, allocations: 0.492 MB / 434.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.2039, allocations: 1.308 MB / 435.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.2048, allocations: 0.8601 MB / 436.4 MB, free: 37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.2053, allocations: 0.4965 MB / 436.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.2059, allocations: 0.6422 MB / 437.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.2061, allocations: 85.06 kB / 437.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.2066, allocations: 377.3 kB / 438 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.2068, allocations: 269.6 kB / 438.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.2072, allocations: 0.5817 MB / 438.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.2082, allocations: 1.721 MB / 440.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2082, allocations: 0 / 440.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.2082, allocations: 0 / 440.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.2082, allocations: 0 / 440.5 MB, free: 36.04 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.003065/0.2113, allocations: 1.801 MB / 442.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2113, allocations: 10.41 kB / 442.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.2115, allocations: 166 kB / 442.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.2132, allocations: 380.3 kB / 442.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.2145, allocations: 0.8205 MB / 443.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.2145, allocations: 80.2 kB / 443.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2146, allocations: 110.4 kB / 443.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.2161, allocations: 1.169 MB / 445.1 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.2162, allocations: 4 kB / 445.1 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.2162, allocations: 46.28 kB / 445.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.2163, allocations: 28.31 kB / 445.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.2178, allocations: 1.068 MB / 446.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.222, allocations: 4.381 MB / 450.6 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2238, allocations: 1.737 MB / 452.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.2243, allocations: 326.6 kB / 452.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.2244, allocations: 99.38 kB / 452.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006109/0.225, allocations: 472.1 kB / 453.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.603e-06/0.225, allocations: 0 / 453.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004723/0.2298, allocations: 1.592 MB / 454.8 MB, free: 27.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2298, allocations: 219.7 kB / 455 MB, free: 27.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.2303, allocations: 0.6592 MB / 455.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2304, allocations: 43.89 kB / 455.7 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2306, allocations: 0.5162 MB / 456.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.2307, allocations: 233.8 kB / 456.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.2309, allocations: 180.4 kB / 456.6 MB, free: 26.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.2309, allocations: 393.2 kB / 457 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.2314, allocations: 297.5 kB / 457.3 MB, free: 26.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.232, allocations: 0.5282 MB / 457.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.233, allocations: 0.9364 MB / 458.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2331, allocations: 3 kB / 458.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001631/0.2347, allocations: 1.118 MB / 459.9 MB, free: 24.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2347, allocations: 64.5 kB / 460 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2347, allocations: 9.844 kB / 460 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.2351, allocations: 87.09 kB / 460.1 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.2358, allocations: 229.1 kB / 460.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008963/0.2367, allocations: 1.483 MB / 461.8 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.2373, allocations: 109.5 kB / 461.9 MB, free: 23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.2374, allocations: 48.05 kB / 461.9 MB, free: 22.99 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.0002675/0.2377, allocations: 343.4 kB / 462.2 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.2378, allocations: 82.16 kB / 462.3 MB, free: 22.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2393, allocations: 0.998 MB / 463.3 MB, free: 22.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2393, allocations: 9.969 kB / 463.3 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2393, allocations: 0 / 463.3 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2394, allocations: 3.469 kB / 463.3 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.2441, allocations: 2.317 MB / 465.7 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2441, allocations: 0 / 465.7 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.2444, allocations: 101.2 kB / 465.8 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.245, allocations: 334.4 kB / 466.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.2451, allocations: 24.38 kB / 466.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009167/0.246, allocations: 0.8929 MB / 467 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.246, allocations: 0 / 467 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.248, allocations: 1.403 MB / 468.4 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2482, allocations: 226.4 kB / 468.6 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.2483, allocations: 21.44 kB / 468.6 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.2487, allocations: 50.25 kB / 468.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.2488, allocations: 47 kB / 468.7 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.2489, allocations: 32.69 kB / 468.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.2492, allocations: 452.5 kB / 469.2 MB, free: 19.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 469.2 MB, free: 19.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006073/0.2498, allocations: 328.1 kB / 469.5 MB, free: 19.2 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.003236/0.2531, allocations: 2.508 MB / 472 MB, free: 17.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.2545, allocations: 0.9949 MB / 473 MB, free: 17.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2545, allocations: 0 / 473 MB, free: 17.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.2552, allocations: 499.3 kB / 473.5 MB, free: 17.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.2558, allocations: 138.4 kB / 473.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.2642, allocations: 7.771 MB / 481.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2645, allocations: 1.022 MB / 482.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.2649, allocations: 132.4 kB / 482.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.2653, allocations: 397.4 kB / 483 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2653, allocations: 3.938 kB / 483 MB, free: 11.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.295, allocations: 19.47 MB / 0.4907 GB, free: 1.332 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000117/0.2952, allocations: 289.1 kB / 0.4909 GB, free: 0.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.155, allocations: 3.938 kB / 0.4909 GB, free: 0.9531 MB / 350.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)