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/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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, 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.154/1.154, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.0009516/0.0009516, allocations: 112.5 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03509/0.03509, allocations: 5.395 MB / 345.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008003/0.008003, allocations: 2.319 MB / 399.1 MB, free: 68.82 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 83.81 kB / 462.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1809, allocations: 51.21 MB / 0.5016 GB, free: 40.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.00563/0.1866, allocations: 6.815 MB / 0.5082 GB, free: 34.44 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003766/0.1904, allocations: 3.897 MB / 0.512 GB, free: 30.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1908, allocations: 19.94 kB / 0.5121 GB, free: 30.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.1926, allocations: 1.089 MB / 0.5131 GB, free: 29.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1937, allocations: 0.768 MB / 0.5139 GB, free: 28.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1948, allocations: 0.4902 MB / 0.5143 GB, free: 28.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.1956, allocations: 1.32 MB / 0.5156 GB, free: 26.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008477/0.1964, allocations: 0.8591 MB / 0.5165 GB, free: 25.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.1968, allocations: 0.4979 MB / 0.517 GB, free: 25.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1973, allocations: 0.6418 MB / 0.5176 GB, free: 24.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1974, allocations: 88 kB / 0.5177 GB, free: 24.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.1979, allocations: 379.7 kB / 0.518 GB, free: 24.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.198, allocations: 262.9 kB / 0.5183 GB, free: 24.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.1984, allocations: 0.5866 MB / 0.5189 GB, free: 23.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.1994, allocations: 1.721 MB / 0.5205 GB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1994, allocations: 0 / 0.5205 GB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1994, allocations: 4 kB / 0.5205 GB, free: 21.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1994, allocations: 0 / 0.5205 GB, free: 21.77 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003123/0.2025, allocations: 1.802 MB / 0.5223 GB, free: 19.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2026, allocations: 12.81 kB / 0.5223 GB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.2044, allocations: 379.1 kB / 0.5227 GB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.2057, allocations: 0.8283 MB / 0.5235 GB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.2058, allocations: 78.08 kB / 0.5236 GB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2059, allocations: 104 kB / 0.5237 GB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2074, allocations: 1.176 MB / 0.5248 GB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2075, allocations: 0 / 0.5248 GB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.2075, allocations: 44 kB / 0.5249 GB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2076, allocations: 24 kB / 0.5249 GB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.2092, allocations: 1.07 MB / 0.5259 GB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.2136, allocations: 4.384 MB / 0.5302 GB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.2157, allocations: 1.742 MB / 0.5319 GB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.2162, allocations: 319.3 kB / 0.5322 GB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/0.2163, allocations: 97.64 kB / 0.5323 GB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006464/0.217, allocations: 469.6 kB / 0.5327 GB, free: 8.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 1.793e-06/0.217, allocations: 0 / 0.5327 GB, free: 8.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.005102/0.2221, allocations: 1.596 MB / 0.5343 GB, free: 7.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.2222, allocations: 218.2 kB / 0.5345 GB, free: 6.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.2229, allocations: 0.6525 MB / 0.5352 GB, free: 6.078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.2229, allocations: 45.72 kB / 0.5352 GB, free: 6.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.2232, allocations: 0.518 MB / 0.5357 GB, free: 5.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2234, allocations: 232.7 kB / 0.5359 GB, free: 5.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.2236, allocations: 186.5 kB / 0.5361 GB, free: 5.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.2237, allocations: 386.7 kB / 0.5365 GB, free: 4.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.2242, allocations: 301.8 kB / 0.5368 GB, free: 4.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.2248, allocations: 0.5309 MB / 0.5373 GB, free: 3.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.2259, allocations: 0.936 MB / 0.5382 GB, free: 2.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.226, allocations: 4 kB / 0.5382 GB, free: 2.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001764/0.2277, allocations: 1.117 MB / 0.5393 GB, free: 1.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.2278, allocations: 67.67 kB / 0.5393 GB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2278, allocations: 8 kB / 0.5394 GB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.2282, allocations: 88.78 kB / 0.5394 GB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.2289, allocations: 223.5 kB / 0.5397 GB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2301, allocations: 1.475 MB / 0.5411 GB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.2308, allocations: 111 kB / 0.5412 GB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.2308, allocations: 47.92 kB / 0.5412 GB, free: 15.39 MB / 330.7 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.000423/0.2313, allocations: 343.3 kB / 0.5416 GB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2314, allocations: 86.98 kB / 0.5417 GB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.2333, allocations: 1.003 MB / 0.5426 GB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2333, allocations: 4 kB / 0.5426 GB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2333, allocations: 4 kB / 0.5426 GB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2333, allocations: 3.984 kB / 0.5426 GB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/0.239, allocations: 2.313 MB / 0.5449 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.239, allocations: 3.984 kB / 0.5449 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.2394, allocations: 95.89 kB / 0.545 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/0.2401, allocations: 330.3 kB / 0.5453 GB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.2402, allocations: 27.97 kB / 0.5453 GB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.2413, allocations: 0.8975 MB / 0.5462 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2414, allocations: 3.938 kB / 0.5462 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.2521, allocations: 5.198 MB / 0.5513 GB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.2524, allocations: 220 kB / 0.5515 GB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2525, allocations: 23.94 kB / 0.5515 GB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.253, allocations: 43.97 kB / 0.5516 GB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.2531, allocations: 48.44 kB / 0.5516 GB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.2532, allocations: 31.97 kB / 0.5517 GB, free: 4.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004787/0.2537, allocations: 455 kB / 0.5521 GB, free: 3.906 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.2537, allocations: 4 kB / 0.5521 GB, free: 3.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001052/0.2548, allocations: 398.9 kB / 0.5525 GB, free: 3.512 MB / 330.7 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.001193/0.256, allocations: 0.6574 MB / 0.5531 GB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.2576, allocations: 0.991 MB / 0.5541 GB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2576, allocations: 0 / 0.5541 GB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.2584, allocations: 0.4915 MB / 0.5546 GB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.2592, allocations: 142.2 kB / 0.5547 GB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.2624, allocations: 2.655 MB / 0.5573 GB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.2629, allocations: 1.034 MB / 0.5583 GB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004981/0.2634, allocations: 138.4 kB / 0.5584 GB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.2637, allocations: 91.38 kB / 0.5585 GB, free: 13.4 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2637, allocations: 0 / 0.5585 GB, free: 13.4 MB / 346.7 MB Notification: Performance of Templates: time 0.0194/0.2831, allocations: 13.52 MB / 0.5717 GB, free: 15.98 MB / 362.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (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 & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)