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.02912/0.02912, allocations: 5.392 MB / 20.89 MB, free: 1.375 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.006743/0.006743, allocations: 100.3 kB / 22.89 MB, free: 0.7773 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.00113/0.00113, allocations: 190.1 kB / 25 MB, free: 280 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.23/1.23, allocations: 222.9 MB / 249.9 MB, free: 8.531 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008731/0.008731, allocations: 2.313 MB / 303.5 MB, free: 6.555 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 91.86 kB / 370.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1625, allocations: 51.22 MB / 422 MB, free: 25.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.005583/0.1682, allocations: 6.84 MB / 428.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.1724, allocations: 3.939 MB / 432.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.173, allocations: 27.94 kB / 432.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.1751, allocations: 1.161 MB / 433.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.1766, allocations: 0.8545 MB / 434.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1779, allocations: 0.5392 MB / 435.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.1788, allocations: 1.398 MB / 436.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1799, allocations: 1.02 MB / 437.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.1803, allocations: 0.5487 MB / 438.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.1808, allocations: 0.6925 MB / 439 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.181, allocations: 144 kB / 439.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.1815, allocations: 435.7 kB / 439.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1817, allocations: 318.8 kB / 439.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.1821, allocations: 0.6375 MB / 440.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1831, allocations: 1.78 MB / 442.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1832, allocations: 0 / 442.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1832, allocations: 0 / 442.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1832, allocations: 0 / 442.3 MB, free: 5.512 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.003085/0.1863, allocations: 1.802 MB / 444.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.1863, allocations: 12.03 kB / 444.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.1864, allocations: 168.8 kB / 444.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.1883, allocations: 379.1 kB / 444.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1896, allocations: 0.8203 MB / 445.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.1897, allocations: 82.08 kB / 445.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1898, allocations: 104 kB / 445.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.1913, allocations: 1.177 MB / 446.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.1913, allocations: 3.938 kB / 446.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.1914, allocations: 44 kB / 446.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1914, allocations: 28 kB / 446.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.1932, allocations: 1.066 MB / 448 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005527/0.1987, allocations: 4.388 MB / 452.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.2011, allocations: 1.74 MB / 454.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.2018, allocations: 327.8 kB / 454.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.61e-05/0.2019, allocations: 101.6 kB / 454.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.2027, allocations: 465.7 kB / 455 MB, free: 8.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.004e-06/0.2027, allocations: 0 / 455 MB, free: 8.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005498/0.2082, allocations: 1.588 MB / 456.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.2083, allocations: 222.2 kB / 456.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.209, allocations: 0.6485 MB / 457.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.2091, allocations: 45.7 kB / 457.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2094, allocations: 0.5179 MB / 458 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2096, allocations: 232.8 kB / 458.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.2099, allocations: 186.5 kB / 458.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2101, allocations: 390.7 kB / 458.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.2107, allocations: 305.8 kB / 459.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.2115, allocations: 0.5309 MB / 459.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.2129, allocations: 0.9282 MB / 460.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2129, allocations: 4 kB / 460.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002197/0.2151, allocations: 1.117 MB / 461.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.2152, allocations: 67.39 kB / 461.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.2152, allocations: 8 kB / 461.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.2157, allocations: 89 kB / 461.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.2166, allocations: 219.6 kB / 462 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.2181, allocations: 1.589 MB / 463.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.2189, allocations: 103.1 kB / 463.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.2189, allocations: 55.97 kB / 463.8 MB, free: 14.84 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.0004166/0.2194, allocations: 339.1 kB / 464.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2195, allocations: 79.06 kB / 464.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.2215, allocations: 1.014 MB / 465.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2216, allocations: 7.984 kB / 465.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2216, allocations: 0 / 465.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2216, allocations: 12 kB / 465.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.2274, allocations: 2.306 MB / 467.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2274, allocations: 0 / 467.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.2278, allocations: 95.89 kB / 467.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.2286, allocations: 330.2 kB / 467.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.2286, allocations: 31.97 kB / 468 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.2298, allocations: 0.8974 MB / 468.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2299, allocations: 3.938 kB / 468.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.2323, allocations: 1.397 MB / 470.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.2326, allocations: 223.9 kB / 470.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.2328, allocations: 23.98 kB / 470.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.2333, allocations: 43.97 kB / 470.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.2334, allocations: 52.38 kB / 470.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.2335, allocations: 31.98 kB / 470.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000512/0.234, allocations: 459 kB / 471.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.234, allocations: 0 / 471.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008021/0.2348, allocations: 315 kB / 471.4 MB, free: 6.992 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.003896/0.2387, allocations: 2.515 MB / 473.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.2406, allocations: 1.023 MB / 474.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2407, allocations: 0 / 474.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.2415, allocations: 0.4949 MB / 475.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.2422, allocations: 149 kB / 475.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.2523, allocations: 7.322 MB / 482.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.2528, allocations: 1.022 MB / 483.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.2533, allocations: 134.4 kB / 484 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.2538, allocations: 399.3 kB / 484.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.2538, allocations: 0 / 484.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.828/6.082, allocations: 20.13 MB / 0.4927 GB, free: 5.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/22.75, allocations: 15.97 kB / 0.4928 GB, free: 5.773 MB / 366.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)