Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 96.3 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02449/0.02449, allocations: 5.401 MB / 345.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007935/0.007935, allocations: 2.306 MB / 399 MB, free: 68.85 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 87.86 kB / 462.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1819, allocations: 51.21 MB / 0.5016 GB, free: 40.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006043/0.188, allocations: 6.857 MB / 0.5083 GB, free: 34.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.1925, allocations: 3.99 MB / 0.5122 GB, free: 30.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.1932, allocations: 23.94 kB / 0.5122 GB, free: 30.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.1953, allocations: 1.078 MB / 0.5132 GB, free: 29.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.1965, allocations: 0.7854 MB / 0.514 GB, free: 28.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1978, allocations: 0.5547 MB / 0.5146 GB, free: 27.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.1986, allocations: 1.328 MB / 0.5159 GB, free: 26.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008607/0.1994, allocations: 0.8554 MB / 0.5167 GB, free: 25.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.1998, allocations: 0.5056 MB / 0.5172 GB, free: 25.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.2003, allocations: 0.6378 MB / 0.5178 GB, free: 24.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.2004, allocations: 87.94 kB / 0.5179 GB, free: 24.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.2009, allocations: 375.7 kB / 0.5182 GB, free: 24.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.201, allocations: 246.9 kB / 0.5185 GB, free: 23.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.2014, allocations: 0.5711 MB / 0.519 GB, free: 23.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.2024, allocations: 1.694 MB / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2024, allocations: 3.938 kB / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2024, allocations: 0 / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2024, allocations: 0 / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003056/0.2054, allocations: 1.802 MB / 0.5225 GB, free: 19.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.2055, allocations: 8.875 kB / 0.5225 GB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.2073, allocations: 379.1 kB / 0.5228 GB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.2086, allocations: 0.7971 MB / 0.5236 GB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.2086, allocations: 78 kB / 0.5237 GB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.2088, allocations: 103.9 kB / 0.5238 GB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2102, allocations: 1.134 MB / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2103, allocations: 3.938 kB / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.2104, allocations: 44 kB / 0.5249 GB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2104, allocations: 27.94 kB / 0.525 GB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.2119, allocations: 0.9485 MB / 0.5259 GB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.2161, allocations: 4.341 MB / 0.5301 GB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2181, allocations: 1.679 MB / 0.5318 GB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.2186, allocations: 312 kB / 0.5321 GB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/0.2187, allocations: 97.52 kB / 0.5322 GB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.2193, allocations: 462.6 kB / 0.5326 GB, free: 8.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.934e-06/0.2194, allocations: 0 / 0.5326 GB, free: 8.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.004837/0.2242, allocations: 1.541 MB / 0.5341 GB, free: 7.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.2243, allocations: 277.6 kB / 0.5344 GB, free: 6.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.2248, allocations: 0.6604 MB / 0.535 GB, free: 6.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.2249, allocations: 41.7 kB / 0.535 GB, free: 6.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.2251, allocations: 0.5218 MB / 0.5356 GB, free: 5.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2252, allocations: 221 kB / 0.5358 GB, free: 5.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.2254, allocations: 182.4 kB / 0.5359 GB, free: 5.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.2255, allocations: 386.7 kB / 0.5363 GB, free: 4.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.226, allocations: 285.8 kB / 0.5366 GB, free: 4.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.2266, allocations: 0.5325 MB / 0.5371 GB, free: 3.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2277, allocations: 0.9099 MB / 0.538 GB, free: 2.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2277, allocations: 7.938 kB / 0.538 GB, free: 2.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001701/0.2294, allocations: 1.071 MB / 0.539 GB, free: 1.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.2295, allocations: 67.33 kB / 0.5391 GB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2295, allocations: 8 kB / 0.5391 GB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/0.2299, allocations: 89.06 kB / 0.5392 GB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.2306, allocations: 211.7 kB / 0.5394 GB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.2317, allocations: 1.475 MB / 0.5408 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.2323, allocations: 119.1 kB / 0.541 GB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.2324, allocations: 44.3 kB / 0.541 GB, free: 15.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.0003472/0.2327, allocations: 335.5 kB / 0.5413 GB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2329, allocations: 79.06 kB / 0.5414 GB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.2347, allocations: 0.9206 MB / 0.5423 GB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2347, allocations: 12 kB / 0.5423 GB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.2347, allocations: 0 / 0.5423 GB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2347, allocations: 3.984 kB / 0.5423 GB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.2401, allocations: 2.21 MB / 0.5445 GB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2401, allocations: 0 / 0.5445 GB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.2404, allocations: 91.88 kB / 0.5446 GB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007477/0.2412, allocations: 334.1 kB / 0.5449 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.2413, allocations: 23.98 kB / 0.5449 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.2425, allocations: 0.8936 MB / 0.5458 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2425, allocations: 0 / 0.5458 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.2557, allocations: 5.431 MB / 0.5511 GB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.2559, allocations: 223.9 kB / 0.5513 GB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2561, allocations: 16 kB / 0.5513 GB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.2566, allocations: 51.95 kB / 0.5514 GB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.2567, allocations: 40.39 kB / 0.5514 GB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.2567, allocations: 31.97 kB / 0.5514 GB, free: 4.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004944/0.2572, allocations: 459 kB / 0.5519 GB, free: 4.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2572, allocations: 11.94 kB / 0.5519 GB, free: 4.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009372/0.2582, allocations: 398.9 kB / 0.5523 GB, free: 3.711 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001176/0.2594, allocations: 0.6468 MB / 0.5529 GB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.261, allocations: 0.959 MB / 0.5538 GB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.261, allocations: 0 / 0.5538 GB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.2618, allocations: 482.7 kB / 0.5543 GB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.2626, allocations: 166.1 kB / 0.5544 GB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.2656, allocations: 2.593 MB / 0.557 GB, free: 15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.2662, allocations: 1.03 MB / 0.558 GB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.2666, allocations: 126.4 kB / 0.5581 GB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2669, allocations: 83.38 kB / 0.5582 GB, free: 13.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2669, allocations: 0 / 0.5582 GB, free: 13.73 MB / 346.7 MB Notification: Performance of Templates: time 0.01906/0.2859, allocations: 13.64 MB / 0.5715 GB, free: 180 kB / 346.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)